diff --git a/lm0.py b/lm0.py deleted file mode 100644 index 8a7dcc5..0000000 --- a/lm0.py +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/python3 -import sys -import random - -words = ['the:0.04 be:0.04 to:0.04 :88', - 'have:0.5 too:0.2 it:0.1 :0.2', - 'not:0.05 or:0.05 :0.9'] - -for lines in sys.stdin: - with open("dev-0/out.tsv", "w", encoding='utf-8') as out_file: - for line in lines: - out_file.write(random.choice(words) + "\n")