Tokenizes Nepali Text
Project description
Tokenizing Nepali Text Sentences
Installation Guide
pip install nepali_tokenizer
Usage
from nepali_tokenizer import NepaliTokenizer
tokenize = NepaliTokenizer()
print(tokenize.tokenizer('के छ खबर तिम्रो ? '))
# output--> ['खबर','तिम्रो']
We can use it with pandas dataframe too
#for example
df.head()
#---> List of nepali corpora with 100 rows
tokenize=NepaliTokenizer()
df = df[0].apply(tokenize.tokenizer)
#output--> All the text in tokenized forms
Feel Free to Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for nepalitokenizer-1.8.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9806cc8165654de079aa5066fbe95463567d96a68084075a0adab738ac14b21c |
|
MD5 | e4ab5ead754ae4230f77693170847ca3 |
|
BLAKE2b-256 | 4fb65740b4727f95008ff27fe89e18c0d7ae697aadf44892fbfab366297b60bb |