Northwestern University Information Technology
MorphAdorner Northwestern
Command Line Syntax

The MorphAdorner command line takes the following form.

java -Xmx10240m -Xss1m
  -l lexicon.lex
  -o adornedoutput/
  -r contextrules.txt
  -s standardspellings.txt
  -t transitionmatrix.mat
  -u suffixlexicon.lex
  -w spellingsbywordclass.txt
  -x lexicalrules.txt
  input1 input2 ...


Parameter Definition
a A spelling map file. This file contains two columns separated by a tab. The first column is a variant spelling. The second column is the standard spelling. You may repeat this argument multiple times to specify more than one spelling map.
d Default MorphAdorner properties file. Usually the file which appears in the main MorphAdorner installation directory.
h Displays a brief help message to the standard output file.
k Only tokenize XML input files. Overrides settings which produce other word-level adornments besides the word ID.
l A word lexicon file in MorphAdorner format.
o The directory into which adorned output files are written.
p A MorphAdorner configuration properties file. The entries in this file override the default file.
r The name of a file providing contextual rules for a rule-based part of speech tagger.
s A text file containing a list of standard spellings, one per line.
t The part of speech tag transition probability matrix used by the probabilistic part of speech taggers.
u A suffix lexicon file in MorphAdorner format. This should be generated from the word lexicon file specified by the l= parameter.
w A spelling map file which breaks down the variant to standard spellings by word class.
x The name of a file providing lexical rules for a rule-based part of speech tagger.
input2 ...
The input files to be adorned.

Settings which appear in the default properties file specified by the d= parameter ( if no p= parameter appears) will be overridden by those specified in the p= properties file. The other command line parameters override the settings in both properties files.

See the batch files and scripts such as adornncf, adorneme, etc. provided in the MorphAdorner release materials for examples of the use of the MorphAdorner command line parameters.

Announcements and News
Download MorphAdorner
Helpful References
Tech Talk