Skip to main content

NLP toolkit, including tokenization, sequence tagging, etc.

Project description

naivenlp

Python package PyPI version Python

A naive toolkit for NLP.

Tokenizers

A tokenizer is used to tokenize text. It can converts tokens to ids, and convert ids to tokens.

Here are some vocab-based tokenizers, which means theses tokenizers need an vocabulary.

  • VocabBasedTokenizer, base class for vocab-based tokenizers.
  • JiebaTokenizer, an wrapper for original fsxjy/jieba
  • BasicTokenizer and WordpieceTokenizer, from google-research/bert
  • LanguageModelTokenizer, a tokenizer for language models. Transformer, BERT for example.

Project details


Download files

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

Source Distribution

naivenlp-0.0.3.tar.gz (14.5 kB view hashes)

Uploaded Source

Built Distribution

naivenlp-0.0.3-py3-none-any.whl (22.7 kB view hashes)

Uploaded Python 3

Supported by

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