Package edu.northwestern.at.morphadorner.tools.relemmatize

Update lemmata and standard spellings in MorphAdorned XML files.

See: Description

Package edu.northwestern.at.morphadorner.tools.relemmatize Description

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.