hfst-strings2fst man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

HFST-STRINGS2FST(1)		 User Commands		   HFST-STRINGS2FST(1)

NAME
       hfst-strings2fst	 -  =Compile string pairs and pair-strings into trans‐
       ducer(s)

SYNOPSIS
       hfst-strings2fst [OPTIONS...] [INFILE]

DESCRIPTION
       Compile string pairs and pair-strings into transducer(s)

   Common options:
       -h, --help
	      Print help message

       -V, --version
	      Print version info

       -v, --verbose
	      Print verbosely while processing

       -q, --quiet
	      Only print fatal erros and requested output

       -s, --silent
	      Alias of --quiet

   Input/Output options:
       -i, --input=INFILE
	      Read input strings from INFILE

       -o, --output=OUTFILE
	      Write output transducer to OUTFILE

   String and format options:
       -f, --format=FMT
	      Write result in FMT format

       -j, --disjunct-strings
	      Disjunct all strings instead of transforming each string into  a
	      separate transducer

       --norm Divide each weight by sum of all weights (with option -j)

       --log  Take negative natural logarithm of each weight

       --log10
	      Take negative 10-based logarithm of each weight

       -p, --pairstrings
	      Input is in pairstring format

       -S, --has-spaces
	      Input has spaces between symbols/symbol pairs

       -e, --epsilon=EPS
	      Interpret string EPS as epsilon.

       -m, --multichar-symbols=FILE
	      Strings that must be tokenized as one symbol.

       If  OUTFILE  or	INFILE is missing or -, standard streams will be used.
       FMT  can	 be  {	foma,  openfst-tropical,  openfst-log,	 sfst,	 opti‐
       mized-lookup-weighted,  optimized-lookup-unweighted  }.	 If EPS is not
       defined, the default representation of @0@ is used.  Option --norm pre‐
       cedes option --log.  The FILE of option -m lists all multichar-symbols,
       each symbol on its own line.  Backslash '\' may be used to escape  ':',
       tab  and itself. For any other symbol x '\x' means x literally, i.e. is
       the same as 'x'.	 The weight of a string can be given after the	string
       separated by a tabulator. The weight cannot be zero.

EXAMPLES
       echo "cat:dog" | hfst-strings2fst
	      create cat:dog fst

       echo "c:da:ot:g" | hfst-strings2fst -p
	      same as pairstring

       echo "c:d a:o t:g" | hfst-strings2fst -p -S
	      same as pairstring with spaces

       echo "c a t:d o g" | hfst-strings2fst -S
	      same with spaces

REPORTING BUGS
       Report  bugs  to <hfst-bugs@helsinki.fi> or directly to our bug tracker
       at:						      <https://source‐
       forge.net/tracker/?atid=1061990&group_id=224521&func=browse>

       hfst-strings2fst			      home			 page:
       <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//Strings2Fst>
       General		help	      using	      HFST	     software:
       <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstHome>

COPYRIGHT
       Copyright © 2010 University of Helsinki, License GPLv3: GNU GPL version
       3 <http://gnu.org/licenses/gpl.html>
       This is free software: you are free  to	change	and  redistribute  it.
       There is NO WARRANTY, to the extent permitted by law.

HFST				 October 2014		   HFST-STRINGS2FST(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net