Description Usage Arguments Examples
Maps a character string of English Penn TreeBank part of speech tags into the universal tagset codes. This provides a reduced set of tags (12), and a better cross-linguist model of speech.
1 | universalTagset(pennPOS)
|
pennPOS |
a character vector of penn tags to match |
1 2 | tok <- getToken(annoEtranger)
cbind(tok$POS,universalTagset(tok$POS))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.