Skip to content

Commit

Permalink
Update check_tokens.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matbahasa authored Sep 13, 2019
1 parent 419742f commit 5bfa032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
tokens.append(x)

#remove all punctuations
tokens = [re.sub("[\>\<\/\#\”\“\'\`\(\)\:\;\!\?\"\,\s\.\[,\]]+", "", w) for w in tokens]
tokens = [re.sub("[\>\<\/\#\”\“\'\`\(\)\:\;\!\?\"\,\s\.\[\]]+", "", w) for w in tokens]

#open MALINDO Morph and make a list of all surface forms
m = codecs.open('/home/david/MALINDO_Morph/malindo_dic_20180817.tsv', encoding='utf-8', mode='r')
Expand Down

0 comments on commit 5bfa032

Please sign in to comment.