public class InflectionTemplateLoader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InflectionTemplateLoader.MyOptions
Command-line parameters for this class
|
static interface |
InflectionTemplateLoader.TemplateCallback |
Modifier and Type | Method and Description |
---|---|
static void |
loadTemplates(MediaWikiType mw,
InflectionTemplateLoader.TemplateCallback callback)
Examine a Wiktionary dump and extract the inflection template for those
<revisions> containing one |
static void |
loadTemplates(MediaWikiType mw,
InflectionTemplateLoader.TemplateCallback callback,
edu.gvsu.kurmasz.warszawa.log.SimpleLog progressLog)
Examine a Wiktionary dump and extract the inflection template for those
<revisions> containing one |
static void |
main(String[] args) |
public static void loadTemplates(MediaWikiType mw, InflectionTemplateLoader.TemplateCallback callback, edu.gvsu.kurmasz.warszawa.log.SimpleLog progressLog)
<revisions>
containing onemw
- The result of unmarshalling a Wiktionary xml dump.callback
- the function to be called when a template is foundprogressLog
- a logpublic static void loadTemplates(MediaWikiType mw, InflectionTemplateLoader.TemplateCallback callback)
<revisions>
containing onemw
- The result of unmarshalling a Wiktionary xml dump.callback
- the function to be called when a template is foundpublic static void main(String[] args) throws JAXBException
JAXBException