This function is indended to be called only from inside lexTagFile or lexTagString, but may be called externally if desired. This function only writes the tags/tokens to a file and is fairly rigid in what it expects (outputs from other POS taggers may not be compatable)
1 | writeLexTag(taggedTokens, pathToStorage)
|
taggedTokens, |
the output from either lexTagFile, lexTagString, or phrasemachine's POS_tag_documents() |
pathToStorage, |
the path to the folder you would like the output to go; |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.