HanLP
Stanza
HanLP | Stanza | |
---|---|---|
3 | 8 | |
32,438 | 7,053 | |
- | 0.6% | |
5.1 | 9.8 | |
22 days ago | 6 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HanLP
Stanza
- Down and Out in the Magic Kingdom
-
Parts of speech tagged for German
I use Python's spacy library: https://spacy.io/models/de or stanza: https://stanfordnlp.github.io/stanza/ each with their respective language models.
-
Off the shelf sentence parsers?
stanza has a constituency parser. There's a model compatible with the dev branch with an accuracy of 95.8 on PTB, using Roberta as a bottom layer, so it's pretty decent at this point. (The currently released model is not as accurate, but it's easy to get the better model to you.) There's also Tregex as a Java addon which can very easily search for a noun phrase highest up in the tree: NP !>> NP will search for a noun phrase which is not dominated by any higher up noun phrase.
- The Spacy NER model for Spanish is terrible
- Spacy vs NLTK for Spanish Language Statistical Tasks
-
Stanza not tokenising sentences as expected
I am using Stanza to tokenise the sentences:
- Stanza – A Python NLP Package for Many Human Languages
What are some alternatives?
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
healthsea - Healthsea is a spaCy pipeline for analyzing user reviews of supplementary products for their effects on health.
NLTK - NLTK Source
embedders - With embedders, you can easily convert your texts into sentence- or token-level embeddings within a few lines of code. Use cases for this include similarity search between texts, information extraction such as named entity recognition, or basic text classification.
BERT-NER - Pytorch-Named-Entity-Recognition-with-BERT
huspacy - HuSpaCy: industrial-strength Hungarian natural language processing
Jieba - 结巴中文分词
flair - A very simple framework for state-of-the-art Natural Language Processing (NLP)
spacy-llm - 🦙 Integrating LLMs into structured NLP pipelines
pytext - A natural language modeling framework based on PyTorch