-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
Test diary | ||
========== | ||
|
||
This document writes down test statistics | ||
|
||
The overal test command: `make check` | ||
|
||
## yaml | ||
|
||
The command: | ||
|
||
`sh test/yaml-check.sh` | ||
|
||
(data forthcoming) | ||
|
||
## Lexical coverage | ||
fkv | ||
Number of words (standing in `lang-fkv`): | ||
|
||
``` | ||
cat test/data/freecorpus.txt |\ | ||
hfst-tokenise tools/tokenisers/tokeniser-disamb-gt-desc.pmhfst |wc -l | ||
``` | ||
|
||
Number of unknown words: | ||
|
||
``` | ||
cat test/data/freecorpus.txt |\ | ||
hfst-tokenise tools/tokenisers/tokeniser-disamb-gt-desc.pmhfst |\ | ||
preprocess --corr=test/data/typos.txt|\ | ||
hfst-tokenise -cg tools/tokenisers/tokeniser-disamb-gt-desc.pmhfst |\ | ||
grep " ?"|cut -d'"' -f2|wc -l | ||
``` | ||
|
||
Test with the full corpus (free + bound): | ||
|
||
|
||
|
||
### Lexical coverage of freecorpus | ||
|
||
The file is `test/data/freecorpus.txt`. | ||
|
||
Coverage: | ||
|
||
- 240405: 1-(42819/607401) = 0.9295 | ||
|
||
### Lexical coverage of free + bound | ||
|
||
Coverage: | ||
|
||
|
||
|
||
|
||
|
||
|
||
|