Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #29964 > unrolled thread
| Started by | Anupam Jamatia <anupamjamatia@gmail.com> |
|---|---|
| First post | 2014-09-13 00:16 -0700 |
| Last post | 2014-09-13 19:24 -0400 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | Anupam Jamatia <anupamjamatia@gmail.com> |
|---|---|
| Date | 2014-09-13 00:16 -0700 |
| Subject | automatically correct the parts of speech of a document. |
| Message-ID | <8902b6e3-c4c7-436d-bab8-30d816cfa2a1@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2014-09-13 11:32 +0000 |
| Message-ID | <lv19vj$9b4$1@dont-email.me> |
| In reply to | #29964 |
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 |
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2014-09-13 19:24 -0400 |
| Message-ID | <lv2jph$7p2$1@dont-email.me> |
| In reply to | #29964 |
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 <https://www.languagetool.org/> I am not associated with languagetool.org. If you are, you're welcome.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web