Solved

sentence validation

Posted on 2004-03-29
3
867 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jdbc error in jsp application 20 71
Java Eclipse Loop 3 29
DTD and JAVA versions 1 28
Tomcat 9 + java 8 error while trying to deploy a war file 2 703
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This video teaches viewers about errors in exception handling.

756 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