パッケージ org.aiwolf.common.data
クラス Talk
java.lang.Object
org.aiwolf.common.data.Talk
人狼知能における会話です。
AI Wolf Talk.
- 作成者:
- tori and otsuki
-
フィールドの概要
フィールド -
コンストラクタの概要
コンストラクタ -
メソッドの概要
-
フィールド詳細
-
コンストラクタの詳細
-
Talk
会話を構築します。Create new talk.- パラメータ:
idx
-発言のインデックス番号Index number of sentenceday
-話した日Tald dayturn
-発言のターンTurn of talkagent
-話したエージェントAgenttext
-発話内容テキストUttered text of talk
-
-
メソッドの詳細
-
getIdx
public int getIdx()発言のインデックス番号を返します。Get the index number of sentence.- 戻り値:
- 発言のインデックス番号Index number of sentence
-
getDay
public int getDay()話した日を返します。Get the told day.- 戻り値:
- 話した日Tald day
-
getTurn
public int getTurn()話した時間を返します。Get the told time.- 戻り値:
- 話した時間Tald time
-
getAgent
話したエージェントを返します。Get the agent.- 戻り値:
- 話したエージェントAgent
-
getText
発話内容テキストを返します。Get the uttered text of talk.- 戻り値:
- 発話内容テキストUttered text of talk
-
isSkip
public boolean isSkip()発言がSKIPならtrue、そうでない場合はfalseを返します。Returns true if utterance is "SKIP".- 戻り値:
- 発言がSKIPならtrue、そうでない場合はfalseTrue if utterance is "SKIP".
-
isOver
public boolean isOver()発言がOVERならtrue、そうでない場合はfalseを返します。Returns true if utterance is "OVER".- 戻り値:
- 発言がOVERならtrue、そうでない場合はfalseTrue if utterance is "OVER"
-
toString
-