public class AriesDictionary extends Dictionary
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_DATA |
static int |
DEPTH |
static int |
DEPTH_DATA |
static int |
DOUBLE |
static int |
GPS_SETTINGS |
static int |
MISSION |
static int |
POSITION |
static int |
POSITION_DATA |
static int |
SPEED |
static int |
WAYPOINT_COMMAND |
static int |
WAYPOINT_DATA |
static int |
WAYPOINT_LIST |
static int |
WAYPOINT_SETTINGS |
FAIL_PARSE, numTerminals| Constructor and Description |
|---|
AriesDictionary()
Creates a new instance of AriesDictionary
|
| Modifier and Type | Method and Description |
|---|---|
int |
lookup(String token)
Looks up a word in the dictionary and returns its part of speech.
|
putpublic static final int MISSION
public static final int WAYPOINT_LIST
public static final int WAYPOINT_COMMAND
public static final int WAYPOINT_DATA
public static final int ADMIN_DATA
public static final int POSITION_DATA
public static final int DEPTH_DATA
public static final int DEPTH
public static final int POSITION
public static final int SPEED
public static final int GPS_SETTINGS
public static final int WAYPOINT_SETTINGS
public static final int DOUBLE
public AriesDictionary()
public int lookup(String token)
lookup in class Dictionarytoken - word to be looked upFAIL_PARSE