public class Chunk extends Object implements Serializable
Constructor and Description |
---|
Chunk()
Constructor.
|
Chunk(String chunkId,
Morpheme[] morphemes,
Dependency dependency)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String |
getChunkId()
Gets word (chunk) ID.
|
Dependency |
getDependency()
Get dependency relationship.
|
Morpheme[] |
getMorphemes()
Gets the array of the morphemes making up the word (chunk).
|
int |
hashCode() |
void |
setChunkId(String chunkId)
Sets word (chunk) ID.
|
void |
setDependency(Dependency dependency)
Set dependency relationship.
|
void |
setMorphemes(Morpheme[] morphemes)
Sets the array of the morphemes making up the word (chunk).
|
String |
toString() |
public Chunk()
public Chunk(String chunkId, Morpheme[] morphemes, Dependency dependency)
chunkId
- Word (chunk) IDmorphemes
- Array of morphemes constituting a word (chunk)dependency
- Dependency relationshippublic String getChunkId()
public Dependency getDependency()
public Morpheme[] getMorphemes()
public void setChunkId(String chunkId)
chunkId
- Word (chunk) IDpublic void setDependency(Dependency dependency)
dependency
- Dependency relationshippublic void setMorphemes(Morpheme[] morphemes)