Questions tagged [stanza]

L.B.Stanza is a new programming language designed to significantly increase the productivity of application programmers. Its primary goal is to help programmers tackle the complexity of architecting large programs.

L.B.Stanza (or Stanza for short) is a new programming language designed to significantly increase the productivity of application programmers. Its primary goal is to help programmers tackle the complexity of architecting large programs.

More info: http://lbstanza.org/

60 questions
1
vote
2 answers

How can you ensure a viable endpoint for a stanza CoreNLPClient?

I would like to use the stanza CoreNLPClient to extract noun phrases, similar to this method. However, I cannot seem to find a good port to start the server on. The default is 9000, but this is often occupied, as indicated by the error…
Tim J
  • 545
  • 2
  • 16
1
vote
1 answer

Numeric limits in stanza

In stanza, I would like to get the numeric limits (min and max) of Int and Double types. In C++, there are INT_MIN, INT_MAX, DBL_MIN and DBL_MAX.
1
vote
0 answers

How to get Noun Chunks using Stanza

I previously used Spacy for language parsing. Spacy has inbuild functionality to get noun_chunks. As spacy does not have language models for Arabic. I am trying to use stanza for this purpose. I am able to extract entities and tokens from it but…
Mahek Shah
  • 485
  • 2
  • 5
  • 17
1
vote
0 answers

How to tokenization in English with Stanza

text = "XXXXXX,XXXX “XX” , XXXXX 50 XX 、 XXXXXXXXX、XXXXXXXXXXXXXXXXXXX" zh_nlp = stanza.Pipeline('zh') doc = zh_nlp(text) for sent in doc.sentences: print("Tokenize:" + ' '.join(token.text for token in sent.tokens)) stanza is capable of…
stackTT
  • 21
  • 1
  • 3
1
vote
1 answer

How to optimize memory footprint of Stanza models

I'm using Stanza to get tokens, lemmas and tags from documents in multiple languages for the purposes of a language learning app. This means that I need to store and load many Stanza (default) models for different languages. My main problem right…
George Eracleous
  • 4,278
  • 6
  • 41
  • 50
1
vote
1 answer

UnsupportedOperation: fileno when trying to start corenlp server via stanza :(

Extremely confused on how to start corenlp client via stanza. I cannot get it to work on both, my windows pc and ubuntu pc. Envromental variables seem to be ok for me, as on the "Starting server with command: java [...]" it gets the correct path on…
1
vote
1 answer

How to get the infinitive form of the verb using "stanza"?

How to find out the infinitive verbs in a sentence using stanza? Example: doc = "I need you to find the verbes in this sentence" en_nlp = stanza.Pipeline('en', processors='tokenize,lemma,mwt,pos,depparse', verbose=False, use_gpu=False) processed =…
Belkacem Thiziri
  • 605
  • 2
  • 8
  • 31
1
vote
1 answer

Read and format message stanza in ejabberd

I have been developing a custom module in ejabberd. I need to extract out message's body content and also check whether stanza has a message text or not . Here is my code…
1
vote
0 answers

xmpp Smack android: Capture stanza users found

I've developed a XMPP Smack Android application and I'm having a problem. When I send a stanza to search new user to open a chat, like that:
1
vote
0 answers

how to handle chat history response in xmpp I have already send stanza in android

In my Application, i want to get the chat history from the XMPP SMACK,For it i am sending the IQPacket stanza please check below public void getChatHistory() throws Exception{ if (connection.isAuthenticated()){ …
1
vote
1 answer

ejabberd muc/sub default configuration

Is it possible to automatically add MUC/SUB subscription for every new member that join a MUC room. For example urn:xmpp:mucsub:nodes:messages urn:xmpp:mucsub:nodes:affiliations urn:xmpp:mucsub:nodes:subject urn:xmpp:mucsub:nodes:config Which is…
shkhssn
  • 303
  • 1
  • 4
  • 17
0
votes
0 answers

How to speed up Stanza lemmatizer by excluding reduntant words

Given: I have a small sample document with limited number of words as follows: d =''' I go to school by the school bus everyday with all of my best friends. There are several students who also take the buses to school. Buses are quite cheap in my…
Farid Alijani
  • 839
  • 1
  • 7
  • 25
0
votes
0 answers

How to draw dependency graph using stanza

I have tried stanza and I got the result(As shown in the figure). But I cant draw graph from the result. I want to draw a dependency graph like the below figureDG graph using stanza or corenlp .Could you please help me to draw the graph.
0
votes
0 answers

Stanza has non-deterministic results

I started using multiple documents processing and found out I start receive different results for single documents, depending on the documents batch I put them in. A code which can illustrate it (I can't use my real data): in_docs = ... doc_index =…
Matan David
  • 143
  • 1
  • 9
0
votes
0 answers

Python Stanza: Some Tokens don't have a lemma?

I noticed that the token "sep" when using stanza pipeline ("en") does not have a lemma attribute... import stanza nlp_tokenize = stanza.Pipeline('en', processors='tokenize,mwt,pos,lemma,depparse', \ tokenize_pretokenized = True, use_gpu=True)#,…