NU IT
Northwestern University Information Technology
MorphAdorner Northwestern
 
Command Line Syntax

The MorphAdorner command line takes the following form.

java -Xmx10240m -Xss1m edu.northwestern.at.morphadorner.MorphAdorner
  -a spellingpairs.tab
  -d default.properties
  -h
  -k
  -l lexicon.lex
  -o adornedoutput/
  -p overriding.properties
  -r contextrules.txt
  -s standardspellings.txt
  -t transitionmatrix.mat
  -u suffixlexicon.lex
  -w spellingsbywordclass.txt
  -x lexicalrules.txt
  input1 input2 ...

where

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 morphadorner.properties 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 morphadorner.properties 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.
input1
input2 ...
The input files to be adorned.

Settings which appear in the default properties file specified by the d= parameter (morphadorner.properties 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.

Home
 
Announcements and News
 
Documentation
 
Download MorphAdorner
 
Glossary
 
Helpful References
 
Licenses
 
Server
 
Talks
 
Tech Talk