pos-tagger Questions

1

When using the parser or for the matter any of the Annotation in Core NLP, is there a way to access the probability or the margin of error? To put my question into context, I am trying to understa...
Srini asked 22/3, 2013 at 16:9

4

Solved

I am using nltk to generate n-grams from sentences by first removing given stop words. However, nltk.pos_tag() is extremely slow taking up to 0.6 sec on my CPU (Intel i7). The output: ['The first...
Innoxious asked 12/11, 2015 at 16:32

4

Solved

when I chunk text, I get lots of codes in the output like NN, VBD, IN, DT, NNS, RB. Is there a list documented somewhere which tells me the meaning of these? I have tried googling nltk chunk code ...
Disturb asked 29/3, 2015 at 18:8

6

Solved

The official documentation of token.tag_ in spaCy is as follows: A fine-grained, more detailed tag that represents the word-class and some basic morphological information for the token. These ta...
Eatage asked 3/6, 2016 at 9:46

3

Recently I approached to the NLP and I tried to use NLTK and TextBlob for analyzing texts. I would like to develop an app that analyzes reviews made by travelers and so I have to manage a lot of te...
Heger asked 23/9, 2015 at 13:29

1

Solved

I have a rule-based code that prints out the Noun which is followed by a verb in a sentence for text_id, text in enumerate(news_df['news_title'].values): # Remove the comma and full stops text ...
Liberality asked 10/3, 2022 at 1:32

2

Solved

Is there a way to find the position of the words with pos-tag 'NN' and 'VB' in a sentence in Python? example of a sentences in a csv file: "Man walks into a bar." "Cop shoots his gun...
Forman asked 9/3, 2022 at 12:26

7

I just started using a part-of-speech tagger, and I am facing many problems. I started POS tagging with the following: import nltk text=nltk.word_tokenize("We are going out.Just you and me.") ...
Schoolroom asked 21/12, 2011 at 13:14

3

Solved

Having this: text = word_tokenize("The quick brown fox jumps over the lazy dog") And running: nltk.pos_tag(text) I get: [('The', 'DT'), ('quick', 'NN'), ('brown', 'NN'), ('fox', 'NN'), ('jum...
Boustrophedon asked 13/6, 2015 at 16:52

2

Solved

I am using NLTK POS tagger as below sent1='get me now' sent2='run fast' tags=pos_tag(word_tokenize(sent2)) print tags [('run', 'NN'), ('fast', 'VBD')] I find similar posts NLTK Thinks that Imper...
Giaour asked 26/8, 2015 at 10:32

4

Solved

I'm try to tag a single word with the nltk pos tagger: word = "going" pos = nltk.pos_tag(word) print pos But the output is this: [('g', 'NN'), ('o', 'VBD'), ('i', 'PRP'), ('n', 'VBP'), ('g', 'J...
Semimonthly asked 1/4, 2015 at 18:4

2

I am working on a project that requires me to tag tokens using nltk and python. So I wanted to use this. But came up with a few problems. I went through a lot of other already asked questions and o...
Makkah asked 11/1, 2016 at 16:14

3

Solved

I'm performing POS tagging with the Stanford POS Tagger. The tagger only returns one possible tagging for the input sentence. For instance, when provided with the input sentence "The clown weeps.",...
Magician asked 28/5, 2013 at 12:9

1

Solved

The gigaword dataset is a huge corpus used to train abstractive summarization models. It contains summaries like these: spain 's colonial posts #.## billion euro loss taiwan shares close down #.##...
Galumph asked 10/2, 2020 at 13:49

3

So I was trying to tag a bunch of words in a list (POS tagging to be exact) like so: pos = [nltk.pos_tag(i,tagset='universal') for i in lw] where lw is a list of words (it's really long or I wou...
Tenderloin asked 27/11, 2017 at 21:21

4

I want to extract all country and nationality mentions from text using nltk, I used POS tagging to extract all GPE labeled tokens but the results were not satisfying. abstract="Thyroid-associate...
Chokedamp asked 17/6, 2016 at 16:44

3

Solved

Do anyone know how to resolve this file reading error in TreeTagger that is a common Natural Language Processing tool used to POS tag, lemmatize and chunk sentences? alvas@ikoma:~/treetagger$ echo...
Decencies asked 19/3, 2013 at 15:17

2

I request your kind help and assistance in solving the error of "Java Command Fails" which keeps throwing whenever I try to tag an Arabic corpus with size of 2 megabytes. I have searched the web an...
Coston asked 25/11, 2014 at 0:2

2

i have list of words like amazing, interesting, love, great, nice. And i want to check if word is adjective or verb , like "love" is verb and nice is adjective... How to do it using python, or nltk...
Wendling asked 17/2, 2016 at 16:47

3

I am new to Text mining and NLP related stuffs.I am working on a small project where I am trying to extract information out of a few documents.I am basically doing a pos tagging and then using a ch...
Shinto asked 20/10, 2016 at 2:32

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 want to POStag an English sentence and do some processing. I would like to use openNLP. I have it installed When I execute the command I:\Workshop\Programming\nlp\opennlp-tools-1.5.0-bin\openn...
Faun asked 29/4, 2011 at 18:53

3

Solved

Here is the R Code: library(NLP) library(openNLP) tagPOS <- function(x, ...) { s <- as.String(x) word_token_annotator <- Maxent_Word_Token_Annotator() a2 <- Annotation(1L, "sentence",...
Guizot asked 23/6, 2015 at 6:19

2

Solved

I'm looking for a way to pos_tag a French sentence like the following code is used for English sentences: def pos_tagging(sentence): var = sentence exampleArray = [var] for item in exampleArray...
Lai asked 10/6, 2017 at 0:24

5

Solved

I'm currently taking a Natural Language Processing course at my University and still confused with some basic concept. I get the definition of POS Tagging from the Foundations of Statistical Natura...
Inkwell asked 25/1, 2012 at 7:7

© 2022 - 2024 — McMap. All rights reserved.