Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: automatically correct the parts of speech of a document. Date: Sat, 13 Sep 2014 19:24:47 -0400 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: <8902b6e3-c4c7-436d-bab8-30d816cfa2a1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 13 Sep 2014 23:25:37 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b896cb427f8c4d19d14880347aa9d6ce"; logging-data="7970"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qqeHeuW/YUQ8B4MwDFOvANHWfhW16/GY=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 In-Reply-To: <8902b6e3-c4c7-436d-bab8-30d816cfa2a1@googlegroups.com> Cancel-Lock: sha1:ll2oe6mfqFe9qNtCvcNwEDMFTz0= Xref: csiph.com comp.lang.java.programmer:29972 On 09/13/2014 03:16 AM, Anupam Jamatia wrote: > Hi friends, Please help me out. Any idea to write a program which will automatically correct the parts of speech of a document. > > 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 > > Any one can do manually, but How to do using java. The document may contain 100 lines tagged with parts of speech. > > Thanks and Regards > Anupam > A likely candidate for an idea. java+grammar+checker I am not associated with languagetool.org. If you are, you're welcome.