GiellaLT

GiellaLT provides an infrastructure for rule-based language technology aimed at minority and indigenous languages, and streamlines building anything from keyboards to speech technology. Read more about Why. See also How to get started and our Privacy document.

View GiellaLT on GitHub

Speller conversion test bench

Done:

Next steps:

Problem

This will still be one large test file. What we really want is a number of very small and focused tests.

Possible solution

The test cases should be stored like this:

$GTHOME/gt/$GTLANG/polderland/testing/caseN/words.txt        # in svn
                                            expected.plx     # in svn
                                            expected.speller # in svn


                                            speller.lex # <- binary speller file
                                            actual.plx       # NOT in svn
                                            actual.speller   # NOT in svn


                                     /caseAll/ concat all words, sort
                                            expected plx
                                            expected speller

Output from each test case:

FAIL
PASS