Skip to main content

No project description provided

Project description

NLP JP Gears




  • pipelineの作成: composer.Composer
  • 全角英数字記号を半角に変換: zenhan.ZenToHanConverter
  • 半角英数字記号を全角に変換: zenhan.HanToZenConverter
  • 括弧とその間のテキストを削除: remover.TextBtwBracketsRemover


>>> from nlp_jp_gears import Composer
>>> from nlp_jp_gears import (
...     ZenToHanConverter,
...     TextBtwBracketsRemover
... )
>>> txt_btw_brackets_remover = TextBtwBracketsRemover()
>>> print(txt_btw_brackets_remover.removes)
>>> zenhan_converter = ZenToHanConverter()
>>> print(zenhan_converter.converts)
>>> composer = Composer(txt_btw_brackets_remover, zenhan_converter)
>>> text = "Python(パイソン)で自然言語処理?"
>>> out = composer(text)
>>> print(out)

Project details

Download files

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

Files for nlp-jp-gears, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size nlp_jp_gears-0.1.0-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size nlp-jp-gears-0.1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page