stanford-nlp Questions

3

Solved

I am using the StanfordCoreNLPServer to extract some informations from text (such as surfaces, street names) The street is given by a specifically trained NER model, and the surface by a simple re...
Seventy asked 17/6, 2016 at 13:36

2

Solved

I have a sentence for which i need to identify the Person names alone: For example: sentence = "Larry Page is an American business magnate and computer scientist who is the co-founder of Google, ...
Plataea asked 20/3, 2018 at 15:3

6

Solved

I am trying to extract list of persons and organizations using Stanford Named Entity Recognizer (NER) in Python NLTK. When I run: from nltk.tag.stanford import NERTagger st = NERTagger('/usr/share...
Mimamsa asked 5/6, 2015 at 10:49

1

I am trying to extract the location name, country name, city name, tourist places from txt file by using nlp or scapy library in python. I have tried below: import spacy en = spacy.load('en') ...
Cupronickel asked 7/10, 2018 at 6:52

1

Solved

The SQuAD Challenge ranks the results against the F1 and EM scores. There is a lot of information about the F1 score (a function of precision and recall). But what would the EM score be?

12

Solved

How can I split a text or paragraph into sentences using Stanford parser? Is there any method that can extract sentences, such as getSentencesFromString() as it's provided for Ruby?
Creese asked 29/2, 2012 at 2:19

1

Solved

I want to use Stanford CoreNLP in my Google Colab Notebook. For that I need Java. Is there a way to install Java on those machines? What I currently have is: !pip install StanfordCoreNLP from sta...
Justiciar asked 11/7, 2018 at 13:51

1

Solved

What is the default number of threads in stanford-corenlp? Specifically, the named entity extractor, and then the information extractor. Also, I would like both to use a single thread for debugging...
Spurious asked 1/8, 2018 at 14:41

1

I have been stuck trying to get the Stanford POS Tagger to work for a while. From an old SO post I found the following (slightly modified) code: stanford_dir = 'C:/Users/.../stanford-postagger-201...
Sandglass asked 13/9, 2017 at 16:0

1

Solved

I need to extract sentences, tokens, pos tags and lemma from English and German text of a big corpora. So, I used the Stanford CoreNLP tool. Its output is perfect. However, the problem is the time ...
Byway asked 19/6, 2018 at 9:27

1

Solved

I'm trying to use the Stanford Parser through NLTK, following the example here. I follow the first two lines of the example (with the necessary import) from nltk.parse.corenlp import CoreNLPDepen...
Pinpoint asked 1/12, 2017 at 0:15

1

GLoVe pre-trained word vectors which can be downloaded here (https://nlp.stanford.edu/projects/glove/) have the following file format: government 0.38797 -1.0825 0.45025 -0.23341 0.086307 -0.25721...
Popele asked 22/3, 2017 at 18:5

3

Solved

Say I have the following Penn Tree: (S (NP-SBJ the steel strike) (VP lasted (ADVP-TMP (ADVP much longer) (SBAR than (S (NP-SBJ he) (VP anticipated (SBAR *?*)))))) .) What do abbrevations ...
Comate asked 21/10, 2011 at 17:52

9

Solved

NOTE: I am using Python 2.7 as part of Anaconda distribution. I hope this is not a problem for nltk 3.1. I am trying to use nltk for NER as import nltk from nltk.tag.stanford import StanfordNERTa...
Matilda asked 18/12, 2015 at 18:20

2

I'm trying to work with Stanford POS tagger within NLTK. I'm using the example shown here: http://www.nltk.org/api/nltk.tag.html#module-nltk.tag.stanford I'm able to load everything smoothly: &g...
Ursi asked 9/1, 2016 at 11:38

3

Solved

I'm using some NLP libraries now, (stanford and nltk) Stanford I saw the demo part but just want to ask if it possible to use it to identify more entity types. So currently stanford NER system (a...
Antalkali asked 3/3, 2014 at 22:7

1

I was testing the StanfordNERTagger using the NLTK wrapper and this warning appeared: DeprecationWarning: The StanfordTokenizer will be deprecated in version 3.2.5. Please use nltk.tag.core...
Ramadan asked 1/12, 2017 at 11:38

3

Solved

How can I shut down the Stanford CoreNLP messages (see end of post)? I first tried setting log4j.category.edu.stanford=OFF in log4j.properties but that didn't help so I found out that apparently it...
Longs asked 18/2, 2014 at 10:40

4

So, this question might be a little naive, but I thought asking the friendly people of Stackoverflow wouldn't hurt. My current company has been using a third party API for NLP for a while now. We b...
Porphyry asked 25/3, 2014 at 20:56

3

Solved

My final year engineering project requires me to build an application using Java or Python which summarizes a text document using Natural Language Processing. How do I even begin with the programmi...
Avril asked 21/6, 2016 at 8:34

3

I have a tree, specifically a parse tree with tags at the nodes and strings/words at the leaves. I want to pass this tree as input into a neural network all the while preserving its structure. Cur...

2

I'm processing a large amount of documents using Stanford's CoreNLP library alongside the Stanford CoreNLP Python Wrapper. I'm using the following annotators: tokenize, ssplit, pos, lemma, ner, e...
Polymorphism asked 22/7, 2015 at 12:16

2

Solved

I try to make lemmatization, ie identifying the lemma and possibly the Arabic root of a verb, for example: يتصل ==> lemma (infinitive of the verb) ==> اتصل ==> root (triliteral root / Jidr thoulath...
Seldun asked 19/3, 2015 at 17:33

1

Can anybody think of a way to speed up my CoreNLP Sentiment Analysis (below)? I initialize the CoreNLP pipeline once on server startup: // Initialize the CoreNLP text processing pipeline public s...

3

I have a corpus of a few 100-thousand legal documents (mostly from the European Union) – laws, commentary, court documents etc. I am trying to algorithmically make some sense of them. I have model...
Harelda asked 13/5, 2016 at 0:9

© 2022 - 2024 — McMap. All rights reserved.