Evertjan.
9/13/2014 7:40:00 AM
Anupam Jamatia <anupamjamatia@gmail.com> wrote on 13 sep 2014 in
comp.lang.javascript:
> Hi friends, Please help me out. Any idea to write a program which will
> automatically correct the parts of speech of a document.
A document has no speech in this sense,
speech is the vocalized form of human communication.
"A" speech is something different again,
the text of which could be put in a document.
Perhaps you mean "language" or even "grammar"?
> Example: say in my document I have
> My/PRONOUN name/PRONOUN is/VERB Jhon/NOUN. He/PRONOUN is/VERB going/ADJ
> to/PREPOSITION school/NOUN
>
> Now I need to chenge
> My/PRONOUN name/NOUN is/VERB Jhon/NOUN. He/PRONOUN is/VERB going/VERB
> to/PREPOSITION school/NOUN
Is this schoolwork you want us to do for you?
This NG is not about human language.
> Any one can do manually, but How to do using java. The document may
> contain 100 lines tagged with parts of speech.
Ah, a single document, definitely schoolwork.
This NG is about Javascript, NOT about [a script of] Java.
Java is a totally different language from Javascript,
sorry for the confusion made in the last century
when others named Javascript Javascript.
Now please go to a NG that is on topic.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)