public class Content
extends java.lang.Object
implements java.lang.Cloneable
コンストラクタと説明 |
---|
Content(ContentBuilder builder)
指定したContentBuilderによりContentを構築する
Constructs a Content by the given ContentBuilder.
|
Content(java.lang.String input)
発話テキストによりContentを構築する
Constructs a Content from the uttered text.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Content |
clone() |
boolean |
equals(java.lang.Object content) |
java.util.List<Content> |
getContentList()
発話内容が複文・重文の場合,節のリストを返す
Returns the list of clauses in case of complex or compound sentence.
|
Operator |
getOperator()
発話内容の演算子を返す
Returns the operator of this content.
|
Species |
getResult()
発話内容中で言及されている判定結果を返す。
|
Role |
getRole()
発話内容中で言及されている役職を返す。
|
Agent |
getSubject()
発話内容の主語を返す
Returns the subject of this content.
|
int |
getTalkDay()
発話内容中で言及されている発言の日を返す。
|
int |
getTalkID()
発話内容中で言及されている発言のIDを返す。
|
TalkType |
getTalkType()
発話内容中で言及されている発言のタイプを返す。
|
Agent |
getTarget()
発話内容中の目的エージェントを返す。
|
java.lang.String |
getText()
発話テキストを返す
Returns the uttered text.
|
Topic |
getTopic()
発話内容のトピックを返す
Returns the topic of this content.
|
static boolean |
validate(java.lang.String input)
発話テキストが有効かどうかを返す.
|
public Content(ContentBuilder builder)
builder
- public Content(java.lang.String input)
input
- public Content clone()
clone
クラス内 java.lang.Object
public java.lang.String getText()
public Operator getOperator()
null
null
when it is a simple sentence.public Agent getSubject()
null
null
if omitted.public Topic getTopic()
null
null
when it is a complex sentence.public Agent getTarget()
null
null
when it is invalid.public Role getRole()
null
null
when it is invalid.public Species getResult()
null
null
when it is invalid.public TalkType getTalkType()
null
null
when it is invalid.public int getTalkDay()
public int getTalkID()
public java.util.List<Content> getContentList()
null
null
in case of simple sentence.public static boolean validate(java.lang.String input)
input
- true
,そうでなければfalse
true
if the text is valid, otherwise false
.public boolean equals(java.lang.Object content)
equals
クラス内 java.lang.Object