# inst/templates/hyph.xx-data.R In koRpus: An R Package for Text Analysis

## TEMPLATE FILE -- ADJUST TO YOUR LANGUAGE
##
## package. this particular file will generate proper documentation for new
## hyphenation patterns.
## that, you should carefully go through this template and adjust it to your
## needs.
##
## throughout the template, there are some values you need to replace globally:
##   Xyzedish: template name for the language (replace with "English", "Dutch" etc.)
##   xx:       template name for the language abbreviation (replace with "en", "nl" etc.)
##
## when you're done, remove this block ;-)

# Copyright 2015 Meik Michalke <[email protected]>
#
# This file is part of the R package koRpus.
#
# koRpus is free software: you can redistribute it and/or modify
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# koRpus is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with koRpus.  If not, see <http://www.gnu.org/licenses/>.

#' Hyphenation patterns for xyzedish
#'
#' Hyphenation patterns for xyzedish to be used by \code{\link[koRpus:hyphen]{hyphen}}.
#' These data objects are not really intended to be used directly, but rather to be consulted
#' by the \code{hyphen()} function without further user interaction.
#'
#' @format The \code{pattern} slot of each hyphenation pattern object has three colums:
#'    \describe{
#'      \item{\code{orig}}{The original pattern in patgen style format.}
#'      \item{\code{char}}{Only the character elements of the pattern which can be matched to parts of an actual word.}
#'      \item{\code{nums}}{A code of digits defining the possibility to split syllables at respective places in this pattern.}
#'    }
#'
#' @source The patterns (as they are present in the \code{"orig"} column described above) were originally provided by the LaTeX developers[1],
#' under the terms of the LaTeX Project Public License[2]. Refer to Liang (1983) for a detailed explaination.
#'
#' In case any changes to the patterns were necessary to be used in this package, they are fully
#' documented in the file "ChangeLog_hyph_patterns.txt" in the sources for this package. The
#' unchanged original patterns can be found under [1].

#' @aliases hyph.xx
#' @docType data
#' @keywords datasets
#' @name hyph.xx
#' @usage hyph.xx
#' @seealso
#' @references
#' Liang, F.M. (1983). \emph{Word Hy-phen-a-tion by Com-put-er}.
#'   Dissertation, Stanford University, Dept. of Computer Science.
#'
#' [1] \url{http://tug.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/}
#'
#' [2] \url{http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt}
NULL


## Try the koRpus package in your browser

Any scripts or data that you put into this service are public.

koRpus documentation built on May 30, 2017, 12:47 a.m.