Description Usage Arguments Value Examples
Coarsens PTB or Petrov/Gimpel coarse tags into one of eight categories: 'A' = adjective, 'D' = determiner, 'P' = preposition, 'N' = common/proper noun, 'M' = verb modifiers, 'V' = verbs, 'C' = coordinating conjunction, 'O' = all else NOTE: 'M', 'C', and 'V' tags are currently only compatible with the PTB tagset.
1 | coarsen_POS_tags(tag_vector)
|
tag_vector |
A vector of POS tags. |
A vector of coarse tags.
1 2 | pos_tags <- c("VB", "JJ", "NN", "NN")
coarsen_POS_tags(pos_tags)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.