OnWorks favicon

hfst-strings2fst - Online in the Cloud

Run hfst-strings2fst in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hfst-strings2fst that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



hfst-strings2fst - =Compile string pairs and pair-strings into transducer(s)


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


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

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, optimized-lookup-weighted,
optimized-lookup-unweighted }. If EPS is not defined, the default representation of @0@
is used. Option --norm precedes 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.


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


Report bugs to <[email protected]> or directly to our bug tracker at:

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


Copyright © 2010 University of Helsinki, License GPLv3: GNU GPL version 3
This is free software: you are free to change and redistribute it. There is NO WARRANTY,
to the extent permitted by law.

Use hfst-strings2fst online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    Download KDiff3
  • 2
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 3
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 4
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 5
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 6
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 7
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • More »

Linux commands