soaxelbrooke/python-bpe

Byte Pair Encoding for Python!

54
/ 100
Established

This tool helps prepare large amounts of text for analysis by breaking it down into smaller, meaningful sub-word units. You provide a body of text, and it learns how to split words into common segments, outputting a vocabulary and a way to encode new text based on these segments. It's useful for data scientists or researchers working with natural language processing who need to efficiently process text for machine learning models.

232 stars. No commits in the last 6 months. Available on PyPI.

Use this if you need to pre-process large text datasets by tokenizing them into sub-word units for natural language processing tasks.

Not ideal if you need a production-ready solution for text tokenization, as other specialized libraries are recommended for that purpose.

natural-language-processing text-pre-processing data-science machine-learning text-analysis
Stale 6m
Maintenance 0 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 19 / 25

How are scores calculated?

Stars

232

Forks

39

Language

Python

License

MIT

Last pushed

Sep 16, 2022

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/soaxelbrooke/python-bpe"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.