Best Java library(ies) for forgiving command interpreter

Posted by vkraemer on Stack Overflow See other posts from Stack Overflow or by vkraemer
Published on 2010-04-24T06:45:40Z Indexed on 2010/04/24 6:53 UTC
Read the original article Hit count: 207

Filed under:
|
|

I am looking for a library or set of libraries that will help me write a forgiving command interpreter.

A forgiving command interpreter would be a command interpreter which can deal with simple and even not so simple spelling and word order mistakes in the input.

My goal is to have an interpreter which would take the input (a command) from a user and then:

  1. execute the command, if it is correct.

  2. apply corrections to the command, until a correct command is generated and then present that command to the user to confirm whether it is 'what the user meant'.

© Stack Overflow or respective owner

Related posts about java

Related posts about interpreter