feat: hashformers[spacy] installation

This commit is contained in:
Ruan Chaves Rodrigues 2026-01-08 07:25:17 -03:00
parent 5934378ab0
commit 6c35ae2d0b

View File

@ -75,7 +75,7 @@
"slogan": "Word segmentation with transformers and beam search",
"description": "Hashformers uses transformers and beam search to segment text without spaces into words. It fills the gap between heuristic-based splitters and LLM prompt-based segmentation, supporting any Hugging Face model. Recognized as state-of-the-art for hashtag segmentation at LREC 2022.",
"github": "ruanchaves/hashformers",
"pip": "hashformers",
"pip": "hashformers[spacy]",
"code_example": [
"import spacy",
"import hashformers.spacy # registers the 'hashformers' component",