Poprawki w dokumentacji (utf8 dziaa), poprawka w tre

This commit is contained in:
Tomasz Obrebski 2013-11-21 00:53:10 +01:00
parent b30c30d500
commit d6a59cafdf
2 changed files with 11 additions and 23 deletions

View File

@ -1,12 +1,12 @@
\input texinfo @c -*-texinfo-*-
@c @documentencoding ISO-8859-2
@documentencoding UTF-8
@c @documentlanguage pl
@c %**start of header
@setfilename utt.info
@settitle UAM Text Tools v0.90
@documentencoding utf-8
@c %**end of header
@copying
@ -27,7 +27,6 @@ Documentation License,,GNU Free Documentation License.
@c @end quotation
@end copying
@titlepage
@title UAM Text Tools 0.90 - User Manual
@subtitle edition 0.01, @today
@ -966,7 +965,7 @@ The mandatory file name extension for a binary dictionary is @code{bin}. To
compile a text dictionary into binary format, write:
@example
compiledic <dictionaryname>.dic
compdic <dictionaryname>.dic <dictionaryname>.bin
@end example
@subsubheading Polex/PMDBF dictionary
@ -1211,7 +1210,7 @@ The mandatory file name extension for a binary dictionary is @code{bin}. To
compile a text dictionary into binary format, write:
@example
compiledic <dictionaryname>.dic
compdic <dictionaryname>.dic <dictionaryname>.bin
@end example
@c ---------------------------------------------------------------------
@ -2005,15 +2004,15 @@ sequence:
@chapter Auxiliary tools
@menu
* compiledic:: dictionary compiler
* compdic:: dictionary compiler
* fla:: UTT file flattener
* unfla:: UTT file unflattener
@end menu
@page
@node compiledic
@section compiledic - the dictionary compiler
@node compdic
@section compdic - the dictionary compiler
@multitable {aaaaaaaaaaaaaaaaaaaaaaaaa} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
@item @strong{Authors:} @tab Michał Stolarski, Tomasz Obrębski
@ -2021,30 +2020,20 @@ sequence:
@end multitable
@c
@command{compiledic} compiles dictionaries in text format (@code{.dic} extension) into binary
(FSA) format (@code{.bin} extension).
@command{compdic} compiles dictionaries in text format (@code{.dic} extension) into binary
(FST) format (@code{.bin} extension).
Automaton representation of a dictionary is built using the AT&T tools:
@itemize
@item AT&T FSM Library,
@item AT&T Lextools.
@end itemize
Automaton representation of a dictionary is built using the OpenFst toolkit.
In order for the compiledic program to work you have to install the
above mentioned packages into your system. They are freely available
for non-commercial use.
In order for the compdic program to work you have to install the OpenFst toolkit in your system.
Usage:
@example
compiledic <dictionaryname>.dic
compdic <dictionaryname>.dic <dictionaryname>.bin
@end example
The file <dictionaryname>.bin will be generated.
Remarque: The program produces a lot of temporary files which are
stored in the current directory. They are deleted after successfull
termination of the program.
@c @menu
@c * con command line options::
@c * con usage example::

View File

@ -379,7 +379,6 @@ end
def buildR(min, max, tree)
if $DEBUG then print "buildR--#{min}--#{max}--#{tree.inspect}\n" end
trees=[]
print $arcs
for arc in $arcs.select{|a| a[0]==max && $vis.include?([min,a[1]]) }
if $DEBUG then print "ARC: #{arc.inspect}\n" end
for r in buildR(arc[1],arc[0],tree+[arc]) #!!! buildR(a[1],a[3],tree+[a])