?
Solved

sentence validation

Posted on 2004-03-29
3
Medium Priority
?
874 Views
Last Modified: 2011-10-03
i need a method that takes in a string, checks it of a lexicon, then returns whether the sentence is valid english or not.
0
Comment
Question by:jack88880
1 Comment
 
LVL 24

Accepted Solution

by:
sciuriware earned 160 total points
ID: 10703908
That's very difficult, there a 4 levels:

1) checking the words against a dictionary or word list,
2) checking the remainder for legal derivates,
3) checking for the mandatory elements of a good sentence to be present or defined,
4) checking for the meaning of a sentence in the context of earlier sentences.

1 & 2 are done by a spelling checker.
3 is sometimes done by a grammar checker.
4 requires artificial intelligence of a high level.

If you pick a spell checker from the public domain, you'll see
how difficult even levels 1 & 2 are; let alone the rest .....

;JOOP!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses
Course of the Month14 days, 19 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question