neural bigrams
This commit is contained in:
parent
c6c596193a
commit
9285bffcec
@ -82,8 +82,8 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"def get_words_from_line(line):\n",
|
"def get_words_from_line(line):\n",
|
||||||
" line = clean_line(line)\n",
|
" line = clean_line(line)\n",
|
||||||
" for m in re.finditer(r'[\\p{L}0-9\\*]+|\\p{P}+', line):\n",
|
" for word in line.split():\n",
|
||||||
" yield m.group(0).lower()"
|
" yield word"
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"collapsed": false
|
"collapsed": false
|
||||||
|
21038
dev-0/out.tsv
21038
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
14828
test-A/out.tsv
14828
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user