Python Forum
TreeTagger : parameter file invalid : english.par
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TreeTagger : parameter file invalid : english.par
#1
Hi,

I need to have a TreeTagger for my project, I made the right import, pip install treetaggerwrapper was done, I placed it in my files (C:\Users\sfoxs\AppData\Local\Programs\Python\Python37-32) , added it to the PATH...
I tried everything I could, but I keep getting this error. I'm out of idea, I can't solve it.
Do you have any idea where the problem could come from ?

I try to create a TreeTagger on a TestTree.py script :
tagger = treetaggerwrapper.TreeTagger(TAGLANG='en')
print(tagger)

Here is a screen of the error I get --> [Image: IQbWdNn]

Thanks in advance for your time.

I tried to place english.par in multiple path, but it still didn't work. I tried in TreeTagger\ , in TreeTagger\lib and also where my scripts are.

Sorry for double post, but I cannot edit it 10 mins after posting, and i'd rather tell that information than making you waste some time.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  (python) Can i get some help fixing a English to Morse translator? Pls AlexPython 8 4,343 Dec-03-2024, 10:21 AM
Last Post: skylartyler
  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter gdbengo 3 19,929 Dec-26-2022, 08:48 AM
Last Post: ibreeden
  [SOLVED] Input parameter: Single file or glob? Winfried 0 2,513 Sep-10-2021, 11:54 AM
Last Post: Winfried
  write a program which prints the day in english ben1122 10 8,681 Jul-25-2021, 05:55 PM
Last Post: ben1122
  More non english characters johnboy1974 8 8,257 Apr-23-2021, 02:35 PM
Last Post: snippsat
  How to fill parameter with data from multiple columns CSV file greenpine 1 3,348 Dec-21-2020, 06:50 PM
Last Post: Larz60+
  I need my compiled Python Mac app to accept a file as a parameter Oethen 2 4,162 May-10-2020, 05:57 PM
Last Post: Oethen
  zlib decompress error: invalid code lengths set / invalid block type DreamingInsanity 0 11,175 Mar-29-2020, 12:44 PM
Last Post: DreamingInsanity
  Python Parameter inside Json file treated as String dhiliptcs 0 2,902 Dec-10-2019, 07:28 PM
Last Post: dhiliptcs
  English interpretation of the following file handing snippet mortch 5 5,109 May-30-2019, 08:10 AM
Last Post: mortch

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020