Changeset d6a59ca


Ignore:
Timestamp:
11/21/13 00:53:10 (11 years ago)
Author:
Tomasz Obrebski <obrebski@…>
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)
Message:

Poprawki w dokumentacji (utf8 dzia�a), poprawka w tre

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/utt.texinfo

    r9a36761 rd6a59ca  
    22\input texinfo   @c -*-texinfo-*- 
    33@c @documentencoding ISO-8859-2 
    4 @documentencoding UTF-8 
    54@c @documentlanguage pl 
    65 
     
    87@setfilename utt.info 
    98@settitle UAM Text Tools v0.90 
     9@documentencoding utf-8 
    1010@c %**end of header 
    1111 
     
    2727@c @end quotation 
    2828@end copying 
    29  
    3029 
    3130@titlepage 
     
    969968 
    970969@example 
    971 compiledic <dictionaryname>.dic 
     970compdic <dictionaryname>.dic <dictionaryname>.bin 
    972971@end example 
    973972 
     
    12141213 
    12151214@example 
    1216 compiledic <dictionaryname>.dic 
     1215compdic <dictionaryname>.dic <dictionaryname>.bin 
    12171216@end example 
    12181217 
     
    20082007 
    20092008@menu 
    2010 * compiledic::         dictionary compiler 
     2009* compdic::            dictionary compiler 
    20112010* fla::                UTT file flattener 
    20122011* unfla::              UTT file unflattener 
     
    20152014 
    20162015@page 
    2017 @node compiledic 
    2018 @section compiledic - the dictionary compiler 
     2016@node compdic 
     2017@section compdic - the dictionary compiler 
    20192018 
    20202019@multitable {aaaaaaaaaaaaaaaaaaaaaaaaa} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa} 
     
    20242023@c 
    20252024 
    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 
     2028Automaton representation of a dictionary is built using the OpenFst toolkit. 
     2029 
     2030In order for the compdic program to work you have to install the OpenFst toolkit in your system. 
    20382031 
    20392032Usage: 
    20402033@example 
    2041         compiledic <dictionaryname>.dic 
     2034        compdic <dictionaryname>.dic <dictionaryname>.bin 
    20422035@end example 
    20432036 
    20442037The file <dictionaryname>.bin will be generated. 
    2045  
    2046 Remarque: The program produces a lot of temporary files which are 
    2047 stored in the current directory. They are deleted after successfull 
    2048 termination of the program. 
    20492038 
    20502039@c @menu 
  • src/tre/tre

    rb30c30d rd6a59ca  
    380380  if $DEBUG then print "buildR--#{min}--#{max}--#{tree.inspect}\n" end 
    381381  trees=[] 
    382   print $arcs 
    383382  for arc in $arcs.select{|a| a[0]==max && $vis.include?([min,a[1]]) } 
    384383    if $DEBUG then print "ARC: #{arc.inspect}\n" end 
Note: See TracChangeset for help on using the changeset viewer.