Skip to content

Commit

Permalink
deploy: 657347c
Browse files Browse the repository at this point in the history
  • Loading branch information
Trondtr committed May 13, 2024
1 parent 01100a7 commit 14010c5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions test-diary.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,42 @@ Coverage:

Coverage:

tbw



## Speller suggestions

### Results

The table shows the number of typos tested, as well as some data for suggestions. For how to test, see below.


Test results with divvunspell (for older data, see below):
```
typos Avrg pos % missp % missp % missp
.txt for corr in 1st in top-5 anywhere
---------------------------------------------------------------
240509: 736 67.39 86.01
240510: 737 67.30 85.89 90.09
---------------------------------------------------------------
```


### How to test

To test: Clone [divvunspell](https://github.com/divvun/divvunspell/blob/main/README.md) and install **divvunspell** and **acceracy**. Then stand in `divvunspell` and do:

```
accuracy -o support/accuracy-viewer/public/report.json ../../giellalt/lang-mns/test/data/ typos.txt ../../giellalt/lang-mns/tools/spellcheckers/mns.zhfst
cd support/accuracy-viewer
npm i && npm run dev
```

At the end the report says (for example) `port: 35729`. Take the 5-digit number and open (the parallel to) http://localhost:35729 in your browser.




Expand Down

0 comments on commit 14010c5

Please sign in to comment.