Note that there are some explanatory texts on larger screens.

plurals
  1. POTreeTagger installation successful but cannot open .par file
    primarykey
    data
    text
    <p>Do anyone know how to resolve this file reading error in <code>TreeTagger</code> that is a common Natural Language Processing tool used to <code>POS</code> tag, lemmatize and chunk sentences?</p> <pre><code>alvas@ikoma:~/treetagger$ echo 'Hello world!' | cmd/tree-tagger-english reading parameters ... ERROR: Can't open for reading: /home/alvas/treetagger/lib/english.par aborted. </code></pre> <p>I didn't encounter any possible installation problems as hinted on <a href="http://www.ims.uni-stuttgart.de/projekte/corplex/TreeTagger/installation-hints.txt" rel="nofollow">http://www.ims.uni-stuttgart.de/projekte/corplex/TreeTagger/installation-hints.txt</a>. I've followed the instructions on the webpage and it's installed properly (<a href="http://www.ims.uni-stuttgart.de/projekte/corplex/TreeTagger/#Linux" rel="nofollow">http://www.ims.uni-stuttgart.de/projekte/corplex/TreeTagger/#Linux</a>):</p> <pre><code>alvas@ikoma:~$ mkdir treetagger alvas@ikoma:~$ cd treetagger alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/tree-tagger-linux-3.2.tar.gz alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/tagger-scripts.tar.gz alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/install-tagger.sh alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/dutch-par-linux-3.2-utf8.bin.gz alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/german-par-linux-3.2-utf8.bin.gz alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/italian-par-linux-3.2-utf8.bin.gz alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/spanish-par-linux-3.2-utf8.bin.gz alvas@ikoma:~/treetagger$ wget ftp://ftp.ims.uni-stuttgart.de/pub/corpora/french-par-linux-3.2-utf8.bin.gz alvas@ikoma:~/treetagger$ sh install-tagger.sh Linux version of TreeTagger installed. Tagging scripts installed. German parameter file (Linux, UTF8) installed. German chunker parameter file (Linux) installed. French parameter file (Linux, UTF8) installed. French chunker parameter file (Linux, UTF8) installed. Italian parameter file (Linux, UTF8) installed. Spanish parameter file (Linux, UTF8) installed. Dutch parameter file (Linux, UTF8) installed. Path variables modified in tagging scripts. You might want to add /home/alvas/treetagger/cmd and /home/alvas/treetagger/bin to the PATH variable so that you do not need to specify the full path to run the tagging scripts. </code></pre> <p><strong>But when i try to test the software i get these errors:</strong></p> <pre><code>alvas@ikoma:~/treetagger$ echo 'Hello world!' | cmd/tree-tagger-english reading parameters ... ERROR: Can't open for reading: /home/alvas/treetagger/lib/english.par aborted. alvas@ikoma:~/treetagger$ echo 'Das ist ein Test.' | cmd/tagger-chunker-german ERROR: Can't open for reading: /home/alvas/treetagger/lib/german-chunker.par aborted. ERROR: Can't open for reading: /home/alvas/treetagger/lib/german.par aborted. reading parameters ... ERROR: Can't open for reading: /home/alvas/treetagger/lib/german.par aborted. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload