mbeurel / php-lemmatizer

Lemmatizer text with php and the TreeTagger library
MIT License
7 stars 1 forks source link

treetagger gives good answers but the sample code gives an empty array. #3

Closed Vcarbon closed 1 year ago

Vcarbon commented 1 year ago

the sample code , after adding $nbProcess = 6; gives an empty array.

mbeurel commented 1 year ago

Composer install with prod or dev ? Can you give me the returns of the command ($debug = true)?

Vcarbon commented 1 year ago

I install with "composer require mbeurel/php-lemmatizer".

I used phplemmatizer programm on a URL , not a sh command. The treeTagger command works well.

ssh1:~/www/treeTagger$ echo 'La lemmatisation désigne un traitement lexical apporté à un texte en vue de son analyse.' | cmd/tree-tagger-french reading parameters ... tagging ... La DET:ART le lemmatisation NOM lemmatisation désigne VER:pres désigner un DET:ART un traitement NOM traitement lexical ADJ lexical apporté VER:pper apporter à PRP à un DET:ART un texte NOM texte en PRP en vue NOM vue de PRP de son DET:POS son analyse NOM analyse . SENT . finished. sh1:~/www/treeTagger$

Le lun. 20 févr. 2023 à 06:02, Matthieu Beurel @.***> a écrit :

Composer install with prod or dev ? Can you give me the returns of the command ($debug = true)?

— Reply to this email directly, view it on GitHub https://github.com/mbeurel/php-lemmatizer/issues/3#issuecomment-1436332711, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5PJHENSI6QHI6O3VJWLJLLWYL3HBANCNFSM6AAAAAAVAT4XZ4 . You are receiving this because you authored the thread.Message ID: @.***>

Vcarbon commented 1 year ago

What does "Composer install with prod or dev ?" mean?

Vcarbon commented 1 year ago

Is there any solution to the issue?

Vcarbon commented 1 year ago

Without answer, I'm using another solution. So don't care anymore.