Hi, I need a php class which will separate sentence into noun, verb, adjective. May be array export or something else but code have to determine every word role in sentence. please, tell me if you know such script, code or class what ever you heard. Thanks.
Natural language processing is a very complicated subject and not something easily achievable in PHP, and even with a half-decent natural language processor available you would be heavily constrained to the speed of PHP itself. While PHP is good for web development, it is not suited for this task. Following is a list of NLP toolkits that you could potentially interface with to get the desired results - but it wouldn't be pure PHP: http://en.wikipedia.org/wiki/List_of_natural_language_processing_toolkits
Dude, that's some serious AI you're asking for there. I doubt there even exists a program that gets this correct 100% of the times. I'd love to see someone do such in PHP. Next, I'll hear about robots being programmed using PHP
@andre91: you mean like this http://stackoverflow.com/questions/4998847/php-roomba-serial-port-communication ?
I agree with you that it is not suits within PHP abilities, but seems like I found something here: http://phpir.com/part-of-speech-tagging very simple solution, and sure not works always, but I think I found what I need