Skip to content

Commit

Permalink
Added documentation of -l option to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-zeldes committed Aug 11, 2015
1 parent 26b508c commit f415217
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ Includes lemmatizer and tagger for language of origin.

_enrich.pl script to be used with lexicon file in each subdirectory (e.g., lexicon.txt in the languagetagger subdirectory for the language-of-origin tagging)

Usage: _enrich.pl [optional args] <LEXICON> <IN_FILE>

Options and arguments:

-h print this [h]elp message and quit
-l [l]exicon file (required). Defaults to lexicon.txt in same directory.

<IN_FILE> A text file one category per line, only text up to the first tab is used for lexicon lookup

example: _enrich.pl -l language-tagger/lexicon.txt my_file.txt


Lemmatizer still under development, not ready for release.

Copyright 2013-14 Amir Zeldes, Caroline T. Schroeder. The perl program is free software. You may copy or redistribute the script under the same terms as Perl itself.
Expand Down

0 comments on commit f415217

Please sign in to comment.