Questions tagged [treetagger]

The TreeTagger is a tool for annotating text with part-of-speech and lemma information.

It was developed by Helmut Schmid in the TC project at the Institute for Computational Linguistics of the University of Stuttgart.he TreeTagger is a program developed by Helmut Schmid at the University of Stuttgart (now at the University of München), for part-of-speech tagging and lemmatization. Language models (known as “parameters”, file extension .par) are supplied on the TreeTagger webpage for using the program with texts in English, French, German, Italian, Spanish, Russian, Bulgarian, Dutch, Estonian, Finnish, Galician, Latin, Mongolian, Polish, Slovak and Swahili, and models for some other languages are available from sites linked to the TreeTagger webpage. For a language for which no model exists, it is necessary to hand-tag some text, and then run a training program (provided with the TreeTagger) to create the model.

40 questions
0
votes
1 answer

The lemma of a noun in French

When I run the following code, I get the lemma of the noun "Suppression" being the same word "Suppression". import treetaggerwrapper as tt tt_fr = tt.TreeTagger(TAGLANG='fr') tag = tt_fr.TagText(u'Suppression') The result I was waiting for is to…
fatiha.kafou
  • 71
  • 1
  • 13
0
votes
0 answers

Problems setting up and using TreeTagger in R

I am trying to use the TreeTagger function in R for POS analysis (on a Mac laptop). However, I keep getting an error message when running the following code: tagged.text <- treetag(reviews, treetagger = "kRp.env", rm.sgml = TRUE, lang…
Ceri
  • 27
  • 5
0
votes
0 answers

Indicating Gender in pos-Tags, Python

Am trying to Pos-Tag a french sentences with TreeTagger Wrapper, But it does not indicate the gender of the nouns This is an example: import treetaggerwrapper import pprint tagger = treetaggerwrapper.TreeTagger(TAGLANG='fr') var1 = 'un…
Ran
  • 635
  • 2
  • 10
  • 22
0
votes
1 answer

Part-of-speech without Python

I am trying to do tagging of a french text, but TreeTagger needs Python which is impossible to install on my PC at work. For security reasons, it is impossible to install other programs (only R). Is it possible to use R code for tagging which does…
Poisson
  • 1,543
  • 6
  • 23
  • 34
0
votes
1 answer

Package ‘TreeTagger’ is not available (for R version 3.3.2)

I try to install TreeTagger Package, but it is impossible for this version of R. I get this error message : > install.packages("TreeTagger", repos = "https://cran.rstudio.com") Installing package into…
Poisson
  • 1,543
  • 6
  • 23
  • 34
0
votes
1 answer

run TreeTagger through Python

I'm new to programming, but I have basics of python 3 and have treetagger installed, and through my command shell I can POS tag files. However, I have 427 files in a folder I am trying to automatically have opened and run through the Treetagger and…
0
votes
1 answer

treetager - Linux - error : Specified file cannot be found:

Hi I ma working treetager to extract nouns from the data, however I am getting the below error message. Here is my R script A <- Data_raw$SourceText[10:15] A ## [1] "Hi ... they ... they rather do very helpful and I like your ... have to move with…
Ravi Kumar
  • 161
  • 1
  • 6
0
votes
2 answers

R aggregate tocken by lemme in tm package

I have load and clean a corpus in R with : myTxt <- Corpus(DirSource("."), readerControl = list(language="lat")) corp <- tm_map(myTxt, removeWords, c(stopwords("french"))) corp <- tm_map(corp, content_transformer(tolower)) corp <- tm_map(corp,…
delaye
  • 1,357
  • 27
  • 45
0
votes
1 answer

How to read .tagger file that comes with stanford pos tagger

I cant read the .tagger file which comes with the stanford maxent tagger for my language with a text editor. How could I view the contents of the .tagger file.
user567879
  • 5,139
  • 20
  • 71
  • 105
-1
votes
1 answer

Is 'search' causing 'String index out of range' ? (Python)

I'm trying to identify all instances of a specific syntactic pattern found in a text: RB + NN|NNS|NP|PP. That is to say, I'm looking for adverbs that are immediately followed by nouns. I've tagged my text using TreeTagger. The tagged text is stored…
Gabriel
  • 47
  • 9
1 2
3