mirror of
https://github.com/adulau/napkin-text-analysis.git
synced 2024-11-22 01:47:06 +00:00
chg: [doc] example of a GitHub markdown format output
This commit is contained in:
parent
2c2aaf3917
commit
13817d2f20
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -269,6 +269,32 @@ Example output:
|
||||||
╘═════════════════════════════════════════════════════════════════════════╛
|
╘═════════════════════════════════════════════════════════════════════════╛
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
|
## Specify table format
|
||||||
|
|
||||||
|
In `readable` output, the format can be set to any of the tabulate format supported. If you want the top 10 of out-of-vocabulary
|
||||||
|
words from the text in GitHub markdown format.
|
||||||
|
|
||||||
|
`python3 ./bin/napkin.py -o readable -f samples/the-prince.txt -t 10 --analysis oov --table-format github`
|
||||||
|
|
||||||
|
| Top 10 of oov |
|
||||||
|
|------------------|
|
||||||
|
| 9 occurences |
|
||||||
|
| Sforza |
|
||||||
|
| 7 occurences |
|
||||||
|
| Fermo |
|
||||||
|
| 6 occurences |
|
||||||
|
| Vitelli |
|
||||||
|
| Pertinax |
|
||||||
|
| Orsinis |
|
||||||
|
| Colonnas |
|
||||||
|
| Bentivogli |
|
||||||
|
| Agathocles |
|
||||||
|
| 5 occurences |
|
||||||
|
| Oliverotto |
|
||||||
|
| Cæsar |
|
||||||
|
| Commodus |
|
||||||
|
|
||||||
|
|
||||||
# overview of processing in napkin
|
# overview of processing in napkin
|
||||||
|
|
||||||
![overview of processing in napkin](https://raw.githubusercontent.com/adulau/napkin-text-analysis/master/doc/napkin.png)
|
![overview of processing in napkin](https://raw.githubusercontent.com/adulau/napkin-text-analysis/master/doc/napkin.png)
|
||||||
|
|
Loading…
Reference in a new issue