パッケージ nlp4j.pattern
クラス KeywordRule
- java.lang.Object
-
- nlp4j.impl.DefaultKeyword
-
- nlp4j.impl.DefaultKeywordWithDependency
-
- nlp4j.pattern.KeywordRule
-
- すべての実装されたインタフェース:
Serializable
,Cloneable
,Keyword
,KeywordWithDependency
public class KeywordRule extends DefaultKeywordWithDependency
- 作成者:
- Hiroki Oya
- 関連項目:
- 直列化された形式
-
-
フィールドの概要
-
クラスから継承されたフィールド nlp4j.impl.DefaultKeywordWithDependency
children, dependencyKey, parent, relation
-
クラスから継承されたフィールド nlp4j.impl.DefaultKeyword
begin, correlation, count, end, facet, hitKeyword, lex, namespace, reading, sequence, str, upos
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 KeywordRule()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 protected KeywordRule
clone()
Keyword
getHitKeyword()
String
getId()
String
getLang()
boolean
match(Keyword target)
Return match result of Keywordvoid
setHitKeywordNull()
void
setId(String id)
void
setLang(String lang)
String
toString()
-
クラスから継承されたメソッド nlp4j.impl.DefaultKeywordWithDependency
addBeginEnd, addChild, addChildOnly, asList, equals, getChildren, getDependencyKey, getDepth, getParent, getParent, getRelation, getRoot, getSequence, hasChild, hasParent, isRoot, setDependencyKey, setParent, setParentOnly, setRelation, setSequence, toStringAsDependencyList, toStringAsDependencyTree, toStringAsXml, toStringAsXml
-
クラスから継承されたメソッド nlp4j.impl.DefaultKeyword
get, getBegin, getCorrelation, getCount, getEnd, getFacet, getFlag, getLex, getNamespance, getReading, getStr, getUPos, hashCode, setBegin, setCorrelation, setCount, setEnd, setFacet, setFlag, setLex, setNamespace, setReading, setStr, setUPos, toStringDetail
-
インタフェースから継承されたメソッド nlp4j.Keyword
get, getBegin, getCorrelation, getCount, getEnd, getFacet, getFlag, getLex, getNamespance, getReading, getStr, getUPos, setBegin, setCorrelation, setCount, setEnd, setFacet, setFlag, setLex, setNamespace, setReading, setStr, setUPos
-
-
-
-
メソッドの詳細
-
clone
protected KeywordRule clone()
- オーバーライド:
clone
クラス内DefaultKeywordWithDependency
-
getHitKeyword
public Keyword getHitKeyword()
-
getId
public String getId()
-
getLang
public String getLang()
-
match
public boolean match(Keyword target)
インタフェースからコピーされた説明:Keyword
Return match result of Keyword- 定義:
match
インタフェース内Keyword
- オーバーライド:
match
クラス内DefaultKeyword
- 戻り値:
- match result
-
setHitKeywordNull
public void setHitKeywordNull()
-
setId
public void setId(String id)
-
setLang
public void setLang(String lang)
-
toString
public String toString()
- オーバーライド:
toString
クラス内DefaultKeywordWithDependency
-
-