Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nepalitokenizer, version 1.8.6.0
Filename, size File type Python version Upload date Hashes
Filename, size nepalitokenizer-1.8.6.0-py3-none-any.whl (8.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page