public class SentenceObjectSet
extends java.lang.Object
SentenceObject
s containing the categories ACTION,
WHAT, WHO, HOW and ELSE.Language.getSentenceObjects(Sentence)
for further information
regarding these categories.Language.getSentenceObjects(Sentence)
Constructor and Description |
---|
SentenceObjectSet(SentenceObject[] actions,
SentenceObject[] whats,
SentenceObject[] whos,
SentenceObject[] hows,
SentenceObject[] elses)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
SentenceObject[] |
getActions()
Returns the 'Action'
SentenceObject s. |
SentenceObject[] |
getElses()
Returns the 'Else'
SentenceObject s. |
SentenceObject[] |
getHows()
Returns the 'How'
SentenceObject s. |
SentenceObject[] |
getWhats()
Returns the 'What'
SentenceObject s. |
SentenceObject[] |
getWhos()
Returns the 'Who'
SentenceObject s. |
public SentenceObjectSet(SentenceObject[] actions, SentenceObject[] whats, SentenceObject[] whos, SentenceObject[] hows, SentenceObject[] elses)
actions
- The 'Action' SentenceObject
array. Can be
null
.whats
- The 'What' SentenceObject
array. Can be null
.whos
- The 'Who' SentenceObject
array. Can be null
.hows
- The 'How' SentenceObject
array. Can be null
.elses
- The 'Else' SentenceObject
array. Can be null
.public SentenceObject[] getActions()
SentenceObject
s.SentenceObject
s. When
there are no such SentenceObject
s, the array is empty but
not null
.public SentenceObject[] getWhats()
SentenceObject
s.SentenceObject
s. When
there are no such SentenceObject
s, the array is empty but
not null
.public SentenceObject[] getWhos()
SentenceObject
s.SentenceObject
s. When
there are no such SentenceObject
s, the array is empty but
not null
.public SentenceObject[] getHows()
SentenceObject
s.SentenceObject
s. When
there are no such SentenceObject
s, the array is empty but
not null
.public SentenceObject[] getElses()
SentenceObject
s.SentenceObject
s. When
there are no such SentenceObject
s, the array is empty but
not null
.