stanza
stanza copied to clipboard
Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages
Hello! I'm using the constituency parsing of Stanza. When I get a node in the parse_tree.Tree, how can I get the phrase under the node? There seems to be no...
I wanted to test Stanza on the recently released MPS backend for the M1 macs. However, I noticed looking in the code that Stanza consistently uses the .cuda() method instead...
**Problem** In the current version of Stanza, there is the `use_gpu` parameter which determines if we want to use the CUDA device instead of the CPU. Unfortunately, this option doesn't...
**Describe the bug** If you set a `lang_subset` to the langid processor, it gives as result a language that not always is in the subset **To Reproduce** Steps to reproduce...
Whenever [stanza.download](https://github.com/stanfordnlp/stanza/blob/main/stanza/resources/common.py#L514) method is called, it seems that resource_1_x.0.json file is assured to exist by calling [file_exists](https://github.com/stanfordnlp/stanza/blob/main/stanza/resources/common.py#L134). However, when this json file is examined, the md5 value of this file...
python -m stanza.utils.datasets.prepare_${module}_treebank ${corpus} ${other_args} what we have to pass in module,corpus,other_args C:\Users\Kalpataru\Desktop\stanza-main\stanza\utils\datasets\ner>python -m stanza.utils.datasets.ner.prepare_ner_dataset fi_turku FileNotFoundError: Cannot find train component of fi_turku in extern_data/ner\fi_turku\train.tsv I want to train models...
**Describe the bug** It seems that in some cases, the default English model of Stanza is confused by simple sentences consisting of a root verb, a subject, a direct object,...
I'd like to, preferably programmatically as in Spacy, get tagsets for all processors for a given model/language in Stanza. E.g. all NER tags, all dependency relations. (I know that NER...
## Description This push adds the thai syllable+character token model framework to stanza. Note that this does not replace the existing models present in the library. Potential changes required: removing...
Hi **1. Is there a way that I can fine-tune an existing model?** For instance, already there is a model for Tamil (ttb.pt) in Stanza. Can I use that train...