|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.linguistics.Sentence
public class Sentence
The Sentence class corresponds to the common sense sentence. In English a sentence starts with an uppercase and ends with a period.
| Field Summary | |
|---|---|
static int |
COMPLEX_SENTENCE
DOCUMENT ME! |
static int |
COMPOUND_COMPLEX_SENTENCE
DOCUMENT ME! |
static int |
COMPOUND_SENTENCE
DOCUMENT ME! |
static int |
DECLARATIVE_SENTENCE
DOCUMENT ME! |
static int |
EXCLAMATORY_SENTENCE
DOCUMENT ME! |
static int |
IMPERATIVE_SENTENCE
DOCUMENT ME! |
static int |
INTERROGATIVE_SENTENCE
DOCUMENT ME! |
static int |
RHETORICAL_QUESTIONS
DOCUMENT ME! |
static int |
SIMPLE_SENTENCE
DOCUMENT ME! |
static int |
UNKNOWN
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
Sentence()
Creates a new Sentence object. |
|
Sentence(java.util.Vector phrases)
Creates a new Sentence object. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getPhrases()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int SIMPLE_SENTENCE
public static final int COMPOUND_SENTENCE
public static final int COMPLEX_SENTENCE
public static final int COMPOUND_COMPLEX_SENTENCE
public static final int DECLARATIVE_SENTENCE
public static final int INTERROGATIVE_SENTENCE
public static final int RHETORICAL_QUESTIONS
public static final int EXCLAMATORY_SENTENCE
public static final int IMPERATIVE_SENTENCE
| Constructor Detail |
|---|
public Sentence()
public Sentence(java.util.Vector phrases)
phrases - DOCUMENT ME!| Method Detail |
|---|
public java.util.Vector getPhrases()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||