nsyllable methods for tokens
Extends nsyllable()
methods for tokens objects.
## S3 method for class 'tokens' nsyllable( x, syllable_dictionary = nsyllable::data_syllables_en, use.names = FALSE )
x |
character vector whose syllables will be counted. This will count all syllables in a character vector without regard to separating tokens, so it is recommended that x be individual terms. |
syllable_dictionary |
optional named integer vector of syllable counts
where the names are lower case tokens. This can be used to override the
language setting, when set to |
use.names |
logical; if |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.