EnglishFrenchSpanish

OnWorks favicon

hfst-pair-test - Online in the Cloud

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

This is the command hfst-pair-test 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

PROGRAM:

NAME


hfst-pair-test - =pair test for a twolc rule file.

SYNOPSIS


hfst-pair-test [OPTIONS...] [INFILE]

DESCRIPTION


pair test for a twolc rule file.

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 rule file from INFILE

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

-N --negative-test
Test fails if any of the pair strings is accepted.

-X --xerox-mode
In xerox mode, test cases are harvested from a twolc source file.

Pair test options:
-I, --input-strings=SFILE
Read pair test strings from SFILE

If SFILE is missing, the test pair strings are read from STDIN. If OUTFILE is missing,
test output is written to STDOUT.

The rule file is tested using correspondences given as pair strings, e.g. "e a r l y:i e
r". Every pair string is tested using every rule and the program prints information about
correspondences that are incorrectly allowed or disallowed.

The test pair string files contain one pair string/line. Lines where the first
non-white-space character is "!" are considered comment lines and skipped.

There are three test modes positive, negative and Xerox mode. In positive mode, all of the
pair strings should be allowed and in negative mode they should be disallowed. In Xerox
mode the cases are read from a twolc source file and both positive and negative cases can
occur.

Ordinarily, positive test mode is in use. Option -N switches to negative test mode. The
exit code for a successful test is 0. The exit code is 1 otherwise. A successful test
will print "Test passed". A failing test prints "Test failed" and information about pair
strings that are handled incorrectly.

In positive test mode (i.e. without option -N), if a pair string is not accepted, the
names of the rules that reject it are printed as well as the positions in the string where
the rules run out of possible transitions. In negative mode, only the strings that are
allowed are printed.

In Xerox mode, the input should be a twolc file. Tests consist of two lines: an input form
and an output form. The test cases are specialized comments prefixed with either '!???' or
'!$' depeding on whether the pair should succeed or fail. An example of a positive test:

!??? earlYer !??? earlier

An example of a negative test:

!$ earlYer !$ earlyer

In silent mode (-s), the program won't print anything. Only the exit code tells whether
the test was successful or not.

REPORTING BUGS


Report bugs to <[email protected]> or directly to our bug tracker at:
<https://sourceforge.net/tracker/?atid=1061990&group_id=224521&func=browse>

hfst-pair-test home page: <https://kitwiki.csc.fi/twiki/bin/view/KitWiki//HfstPairTest>
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.

Use hfst-pair-test online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad