Solved

sentence validation

Posted on 2004-03-29
3
865 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
3 Comments
 
LVL 24

Accepted Solution

by:
sciuriware earned 40 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

803 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