Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29968

Re: automatically correct the parts of speech of a document.

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: automatically correct the parts of speech of a document.
Date 2014-09-13 11:32 +0000
Organization A noiseless patient Spider
Message-ID <lv19vj$9b4$1@dont-email.me> (permalink)
References <8902b6e3-c4c7-436d-bab8-30d816cfa2a1@googlegroups.com>

Show all headers | View raw


On Sat, 13 Sep 2014 00:16:36 -0700, 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

Its more fun to:
- use a Markov Chain to reprocess the document 
- do a lookup on every word in the document and replace each 
  directory miss with the first suggested replacement.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

automatically correct the parts of speech of a document. Anupam Jamatia <anupamjamatia@gmail.com> - 2014-09-13 00:16 -0700
  Re: automatically correct the parts of speech of a document. Martin Gregorie <martin@address-in-sig.invalid> - 2014-09-13 11:32 +0000
  Re: automatically correct the parts of speech of a document. Jeff Higgins <jeff@invalid.invalid> - 2014-09-13 19:24 -0400

csiph-web