Debian Codegraph @

morfologik-tools/src/main/package/examples/04-dict-compile.txt

raw
1 #
2 # This example compiles a dictionary for use with DictionaryLookup
3 # (dictionary-driven stemming and morphological tag lookup).
4 #
5 # The input file must contain, in each \n-delimited line a sequence of:
6 #
7 # lemma;inflected;tag
8 #
9 # The separator character (byte) is configurable.
10 # The tag is optional.
11 #
12 # Note that, in addition to the input file, the compiler will
13 # also require an associated dictionary "metadata" file, which tells
14 # it how to compress and interpret the input.
15 #
16 # Open and inspect the content of this example's input files:
17 # 04-dict-compile.input
18 # 04-dict-compile.info
19 #
20
21 java -jar ../lib/${project.artifactId}-${project.version}.jar dict_compile --input 04-dict-compile.input
22
23 # The compiled dictionary should be written to 04-dict-compile.dict.