Description Usage Arguments Value Examples
System call to tree-tagger binary to lemmatize file based on our tokenization. Give input filename and outputfilename, the function will handle creating temporary files, and the pre and post processing of the tree-tagger lemmatization necessary.
1 2 | lemma_file(ifile, odir, cmd = "/opt/tree-tagger/bin/tree-tagger",
param = "/opt/tree-tagger/lib/english.par")
|
ifile |
A string containing the path to the input file. |
odir |
A string containign the path to the output file. |
cmd |
**optional** path to the tree taggery binary on your system. |
param |
**optional** path to the param file to use. |
A string containing the name of the file that was lemmatized.
1 2 3 4 5 | ## Not run:
lemma_file("ifile.txt", "ofile.txt")
lemma_file("ifile.txt", "ofile.txt", cmd="~/tt/bin/tree-tagger", param="~/tt/lib/english.par")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.