Language Technology at UiT

The Divvun and Giellatekno teams build language technology aimed at minority and indigenous languages

View GiellaLT on GitHub divvungiellatekno/giellalt.uit.no

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

Sitemap