ubac

search for weird ngrams
git clone https://a3nm.net/git/ubac/
Log | Files | Refs

commit 4197395eba24ff7e52d27e8b5818b61b731c14e5
parent 8ccfb8c5d5843b953c72dfd88add070509dece0c
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Mon,  4 Sep 2017 11:03:22 +0200

fix usage

Diffstat:
ubac.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ubac.py b/ubac.py @@ -7,6 +7,7 @@ if len(sys.argv) not in [2, 3]: print("usage: ./ubac.py n [beginend] < lexique") print(" to look for n-grams (with or without begin-end markers)") print(" where lexique is a utf8 word list") + sys.exit(1) n = int(sys.argv[1]) words = []