Changeset d6a59ca
- Timestamp:
- 11/21/13 00:53:10 (11 years ago)
- Branches:
- master
- Children:
- f600a02
- Parents:
- b30c30d
- git-author:
- Tomasz Obrebski <obrebski@…> (11/21/13 00:53:10)
- git-committer:
- Tomasz Obrebski <obrebski@…> (11/21/13 00:53:10)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/utt.texinfo
r9a36761 rd6a59ca 2 2 \input texinfo @c -*-texinfo-*- 3 3 @c @documentencoding ISO-8859-2 4 @documentencoding UTF-85 4 @c @documentlanguage pl 6 5 … … 8 7 @setfilename utt.info 9 8 @settitle UAM Text Tools v0.90 9 @documentencoding utf-8 10 10 @c %**end of header 11 11 … … 27 27 @c @end quotation 28 28 @end copying 29 30 29 31 30 @titlepage … … 969 968 970 969 @example 971 comp iledic <dictionaryname>.dic970 compdic <dictionaryname>.dic <dictionaryname>.bin 972 971 @end example 973 972 … … 1214 1213 1215 1214 @example 1216 comp iledic <dictionaryname>.dic1215 compdic <dictionaryname>.dic <dictionaryname>.bin 1217 1216 @end example 1218 1217 … … 2008 2007 2009 2008 @menu 2010 * comp iledic::dictionary compiler2009 * compdic:: dictionary compiler 2011 2010 * fla:: UTT file flattener 2012 2011 * unfla:: UTT file unflattener … … 2015 2014 2016 2015 @page 2017 @node comp iledic2018 @section comp iledic - the dictionary compiler2016 @node compdic 2017 @section compdic - the dictionary compiler 2019 2018 2020 2019 @multitable {aaaaaaaaaaaaaaaaaaaaaaaaa} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa} … … 2024 2023 @c 2025 2024 2026 @command{compiledic} compiles dictionaries in text format (@code{.dic} extension) into binary 2027 (FSA) format (@code{.bin} extension). 2028 2029 Automaton representation of a dictionary is built using the AT&T tools: 2030 @itemize 2031 @item AT&T FSM Library, 2032 @item AT&T Lextools. 2033 @end itemize 2034 2035 In order for the compiledic program to work you have to install the 2036 above mentioned packages into your system. They are freely available 2037 for non-commercial use. 2025 @command{compdic} compiles dictionaries in text format (@code{.dic} extension) into binary 2026 (FST) format (@code{.bin} extension). 2027 2028 Automaton representation of a dictionary is built using the OpenFst toolkit. 2029 2030 In order for the compdic program to work you have to install the OpenFst toolkit in your system. 2038 2031 2039 2032 Usage: 2040 2033 @example 2041 comp iledic <dictionaryname>.dic2034 compdic <dictionaryname>.dic <dictionaryname>.bin 2042 2035 @end example 2043 2036 2044 2037 The file <dictionaryname>.bin will be generated. 2045 2046 Remarque: The program produces a lot of temporary files which are2047 stored in the current directory. They are deleted after successfull2048 termination of the program.2049 2038 2050 2039 @c @menu -
src/tre/tre
rb30c30d rd6a59ca 380 380 if $DEBUG then print "buildR--#{min}--#{max}--#{tree.inspect}\n" end 381 381 trees=[] 382 print $arcs383 382 for arc in $arcs.select{|a| a[0]==max && $vis.include?([min,a[1]]) } 384 383 if $DEBUG then print "ARC: #{arc.inspect}\n" end
Note: See TracChangeset
for help on using the changeset viewer.