Menu

#301 hfst-pair-test - new option to use lexicon to avoid spurious warnings?

future
open
nobody
None
1
2015-06-11
2015-06-11
sjurum
No

This is from the Xerox twolc tool:

$ twolc

      **********************************************************
      *           Two-Level Compiler 3.4.9 (2.14.10)            *
      *                      created by                        *
      *             Lauri Karttunen, Todd Yampol,              *
      *         Kenneth R. Beesley, and Ronald M. Kaplan.      *
      *     Copyright © 1991-2015 by the Xerox Corporation.    *
      *                  All Rights Reserved.                  *
      **********************************************************

Input/Output ------------------------------------------------------------------
    Rules:        read-grammar.
    Transducers:  install-binary, save-binary, save-tabular.
    Lexicon:      install-lexicon, uninstall-lexicon.
Operations --------------------------------------------------------------------
    Compilation:  compile, redo.
    Intersection: intersect.
    Testing:      lex-test, lex-test-file, pair-test, pair-test-file.
    Switches:     closed-sigma, quit-on-fail, resolve, time, trace, utf8-mode.
Display -----------------------------------------------------------------------
    Result:       labels, list-rules, show, show-rules.
    Misc:         banner, storage, switches.
    Help:         completion, help, history, ?.
Type 'quit' to exit.
Starting in utf8-mode.
twolc> help install-lexicon
'install-lexicon' loads a lexicon for the purpose of filtering out
                  spurious rule conflict warnings.

It would be great if hfst-pair-test could get a similar option too. Now there are languages for which pair-testing passes using Xerox, but not when using Hfst. An option like this would help a lot in narrowing down the possible issues.

Discussion