Questions tagged [part-of-speech]

Linguistic category of words

In grammar, a part of speech (also a word class, a lexical class, or a lexical category) is a linguistic category of words (or more precisely lexical items), which is generally defined by the syntactic or morphological behaviour of the lexical item in question.

From http://en.wikipedia.org/wiki/Parts_of_speech

194 questions
0
votes
1 answer

grouping all Named entities in a Document

I would like to group all named entities in a given document. For Example, **Barack Hussein Obama** II is the 44th and current President of the United States, and the first African American to hold the office. I do not want to use OpenNLP APIs as…
Yogi
  • 1,035
  • 2
  • 13
  • 39
0
votes
1 answer

POS Histogram with Stanford POS Tagger

I need to tag the words in Tweets, using Stanford POS Tagger. As explained here 1, I used the Class MaxentTagger and then the method:maxtagger.tagString("This is a sample text"); This produce the output: This_DT is_VBZ a_DT sample_NN text_NN Now…
Francesco
  • 75
  • 9
0
votes
1 answer

Import my own texts to use NLTK part-of-speech-tagger

I'm a beginner at this but I'd like to create a folder where I have many texts (lets say novels saved as .txt). I'd then like to ask the user to select one of these novels and then automatically have the part-of-speech-tagger analize the entire…
0
votes
1 answer

How to change the word order of phrasal verbs in a POS-tagged corpus file

I have a POS-tagged parallel corpus text file in which I would like to do word reordering, so that the "separable phrasal verb particle" will appear next to the "verb" of the phrasal verb ('make up a plan' instead of 'make a plan up') . This used…
user2468610
  • 55
  • 1
  • 1
  • 5
0
votes
1 answer

Count the Number of Each Part-of-Speech Using a POS Tagger

I want count for example adverbs, but there are different tags for different types, "_RB", "_RBR", and "_RBS". I tried going through using substrings in sequences of 3 but that eliminates the possiblity of finding the longer tags - "_RB" vs "_RBS".…
mwristine
  • 93
  • 2
  • 9
0
votes
1 answer

Discriminatively trained supervised part of speech tagging

I have to implement a Discriminatively trained supervised part of speech tagger, and I have been looking at a couple of techniques including Maximum likelihood, perceptron and the large margin (SVM). Finally after reading through some experimental…
roopalgarg
  • 429
  • 1
  • 6
  • 19
0
votes
1 answer

POS-Tagging API for Italian Language on Mac OSX

I need help Looking for POS-Tagging API that works on documents in Italian. My preference is for open source code (possibly; ruby, jruby, macruby, java, scala). The program that I write will run on Mac OsX and I have already explored this list but…
Franco Rondini
  • 10,841
  • 8
  • 51
  • 77
0
votes
1 answer

Stanford POS tagger in JCreator Java?

import java.io.IOException; import edu.stanford.nlp.tagger.maxent.MaxentTagger; public class TagText { public static void main(String[] args) throws IOException, ClassNotFoundException { // Initialize the tagger MaxentTagger…
cchua
  • 213
  • 2
  • 6
  • 15
-1
votes
1 answer

How can I count words based on the column?

Hello. I stuck here. Could you tell me how can I count words based on the tags on the second column? I want to find mostly used words using .most_common() using the categorize: most 10 in VB(Verb), 10 in Noun.
-1
votes
2 answers

Python Machine Learning Classifying Words in Sentence

I want to make an personal assistant using artificial intelligence and machine learging techniques. I am using Python 3.7 and I have an question. When software starts, first it will ask user's name. I want it to get user's name. in = input('Hey,…
-1
votes
1 answer

How can I format this file as in the standard?

I have a huge file (corpus) which includes words and their POS Tags but also some unrelated information in-between which I want to delete. Unrelated information consists only of some number of characters. And 1 space is used to distinguish…
selubamih
  • 83
  • 3
  • 15
-1
votes
1 answer

Numerical POS tag training in nltk (python)

To create a natural language calculator, I tried TrigramTagger from nltk. I want to tag multiplication and 2 numbers in given sentences. For example: "What is product of 5 and 7", here 'product' is 'binary.multiply', '5' is 'num-1', and '7' is…
user2746898
-1
votes
1 answer

Is there a combined model which can generate both POS and NER tags using Stanford's NLP Library

Here is an example of a sample text output: Good/NNP afternoon/NNP Rajat/PERSON Raina/PERSON,/O how/WRB are/VBP you/PRP today/NN ?/O
-3
votes
1 answer

Finding the word that corresponds to experience

Suppose i have a sentence like the following, how can i find what the experience corresponds to? Ex: Programmer with 5 years of experience wanted. I want to find what the experience (5 years) corresponds to, in this case programmer. The code should…
1 2 3
12
13