yooper/php-text-analysis

Entity Text Parser

jmichaelterenin opened this issue · 3 comments

I'm seeing this aspect of the package as being rather weak. Specifically, I'd like to be able to parse nouns/noun phrases and have a better categorization of them, similar to here:
https://github.com/web64/laravel-nlp#summarization

$entities = NLP::corenlp_entities($text); /* array:6 [ "PERSON" => array:3 [ 0 => "John C. Breckinridge" 1 => "James Buchanan" ] "STATE_OR_PROVINCE" => array:1 [ 0 => "Kentucky" ] "COUNTRY" => array:1 [ 0 => "United States" ] "ORGANIZATION" => array:1 [ 0 => "Confederate States of America" ] "DATE" => array:1 [ 0 => "1857" ] "TITLE" => array:1 [ 0 => "vice president" ] ] */

Unfortunately, this package requires Linux/Ubuntu platform, and I'm working in Windows.
Is there a download or different method for doing this here?

Have you ever thought about using Docker on Windows? Your problem can easily be fixed when using Docker.

@jmichaelterenin Please consider downloading and using WSL.

Nixes commented

Hmm could this be listed as a requirement in the readme? I had no idea it only supported linux.