public class SentenceObject
extends java.lang.Object
Constructor and Description |
---|
SentenceObject(Word main,
Word compound)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Word |
getCompound()
Returns the compound word.
|
Word |
getMainWord()
Returns the main word.
|