Modified README - added logo

This commit is contained in:
Luka 2019-12-19 12:33:49 +01:00
parent d346a50d08
commit c1ae1078d4
3 changed files with 4 additions and 1 deletions

BIN
Clarin-SI-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -26,3 +26,6 @@ Example:
```bash ```bash
python3 dependency-parsetree.py --config_file=official_config.ini python3 dependency-parsetree.py --config_file=official_config.ini
``` ```
[![alt text](https://gitea.cjvt.si/lkrsnik/dependency_parsing/src/branch/master/Clarin-SI-logo.png)](http://www.clarin.si/info/about/)

View File

@ -83,4 +83,4 @@ def get_collocabilities(ngram, unigrams_dict, corpus_size):
logdice = 14 + math.log(dice, 2) logdice = 14 + math.log(dice, 2)
tscore = (O - E) / math.sqrt(O) tscore = (O - E) / math.sqrt(O)
simplell = 2 * (O * math.log10(O / E) - (O - E)) simplell = 2 * (O * math.log10(O / E) - (O - E))
return [('%.4f; N=%.4f, n=%.4f; O=%.4f, E=%.4f, sum_fwi=%.4f, mul_fwi=%.4f' % (mi, N, n, O, E, sum_fwi, mul_fwi)), '%.4f' % mi3, '%.4f' % dice, '%.4f' % logdice, '%.4f' % tscore, '%.4f' % simplell] return ['%.4f' % mi, '%.4f' % mi3, '%.4f' % dice, '%.4f' % logdice, '%.4f' % tscore, '%.4f' % simplell]