Skip to main content

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


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

If you're not sure about the file name format, learn more about wheel file names.

nepalitokenizer-1.8.4.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file nepalitokenizer-1.8.4.0-py3-none-any.whl.

File metadata

  • Download URL: nepalitokenizer-1.8.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.5

File hashes

Hashes for nepalitokenizer-1.8.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f32a7d7cddd3dbdb8fc46a09cf5ee62f2d7db13f4e2c935ed8977d0c27bc01fb
MD5 59c7684aa68f6b0df1e1b986d9525993
BLAKE2b-256 9809fdd130cb9517fff087e819b0ec1e8ac8e19ef190284a47bd79dfcdde1a6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page