Requirements Capturing
The annual LEXICON must past following tests:
LexCheck.ValidateSyntaxFromTextFile
${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
|
${LEXICON}/bin/2.ValidateLexicon <year>
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 | . |
Unicode.GetNonAsciiFromFile
| 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 |