Merge pull request #4 from fakhar-iqbal/fakhar-iqbal-patch-6

Tokenization step updated,   Update 11_midlevel_data.ipynb
This commit is contained in:
Muhammad Fakhar-e-Iqbal Abdullah 2023-07-26 01:07:06 +05:00 committed by GitHub
commit d27b447baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,9 +153,11 @@
}
],
"source": [
"tok = Tokenizer.from_folder(path)\n",
"spacy = WordTokenizer()\n",
"tok = Tokenizer(spacy)\n",
"tok.setup(txts)\n",
"toks = txts.map(tok)\n",
"toks[0]"
]
},