See: Description
Class | Description |
---|---|
Relemmatize |
Update standard spellings and lemmata in MorphAdorned files.
|
RelemmatizeFilter |
Filter to update standard spellings and lemmata in adorned file.
|
Update lemmata and standard spellings in MorphAdorned XML files.
Usage:
java edu.northwestern.at.morphadorner.tools.relemmatize.Relemmatize outputdirectory spellingmap.tab standardspellings.txt adornedinput.xml adornedinput2.xml ...
outputdirectory -- Output directory for updated MorphAdorner adorned XML files.
spellingmap.tab -- Two column tab-separated spelling map file. First column is
alternate spelling and second column is standard spelling.
standardspellings.txt -- File containing standard known spellings.
adornedinput*.xml -- MorphAdorner adorned XML output files.
The lemmata and standard spellings for each adorned word in the input XML files are updated with the most current values. The updated XML files are written to the outputdirectory directory.