Requirements Capturing
The annual LEXICON must past following tests:
- LexCheck Syntax Test
This should be done in LexBuild on real-time when a lexRecord is added!LexCheck.ValidateSyntaxFromTextFile
- Standardize Test
${LEXICON}/bin/1.FinalizeLexicon <year>
ID Test Descriptions Source Program 1 Release Format: remove annotation & signature LexCheck -f:r
2 Autofix Illegal Non-ASCII Unicode LexBuild.FixIllegalNonAsciiChars
- Content Test
${LEXICON}/bin/2.ValidateLexicon <year>
- Check (fix) contents
LexCheck.ValidateContentFromTextFile -f
ID Test Descriptions Program 2 Remove base=E0000000 . 3 Validate base: non-ASCII (if possible) . 4 Validate base: no punctuation (if possible) . 5 Irreg . 6 TradeMark . 7 Cross reference: NOM/ABB/ACR . 8 derivation on NOM: spelling var . - Check Non-ASCII (Manually fix)
Unicode.GetNonAsciiFromFile
- Manually go through *.Char and *.line and fix typos of non-ASCII characrters. The table below shows the common seen non-ASCII typos
Character name Typo Name Character Value Name Character Value mu [μ] U+03BC Micro Sign [µ] U+00B5 beta [β] U+03B2 Latin Sharp S [ß] U+00DF apostrophe ['] U+0027 Right single quote [’] U+2019 apostrophe ['] U+0027 Left single quote [‘] U+2018 hyphen [-] U+002D EN DASH [–] U+2013
- Manually go through *.Char and *.line and fix typos of non-ASCII characrters. The table below shows the common seen non-ASCII typos
- Check (fix) contents