Class EngineAccess.LangCompMatch
- Object
-
- LanguageComponentMatch
-
- LangCompMatch
-
- Enclosing class:
- EngineAccess
public static final class EngineAccess.LangCompMatch extends LanguageComponentMatchEntry type of the list returned byEngineAccess.findMatchingLanguageComponents(java.lang.String, boolean).- Since:
- 6.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetLangCompName()The name of the matching language object / entity.StringgetLangObjName()Deprecated.UsegetLangCompName().SortedSet<Integer>getUsedWords()The indices of the sentence words fulfilling the condition of this language object match.booleanisEntity()Returnstrueif the matching language component is an entity.booleanisLanguageObject()Returnstrueif the matching language component is a language object.
-
-
-
Method Detail
-
getLangObjName
@Deprecated public String getLangObjName()
Deprecated.UsegetLangCompName().- Since:
- 2.1.0
-
getLangCompName
public String getLangCompName()
The name of the matching language object / entity.- Since:
- 6.0.0
-
getUsedWords
public SortedSet<Integer> getUsedWords()
The indices of the sentence words fulfilling the condition of this language object match.- Since:
- 2.1.0
- See Also:
EngineAccess.divideIntoWords(String, EngineAccess.WordListType)
-
isLanguageObject
public boolean isLanguageObject()
Returnstrueif the matching language component is a language object.- Since:
- 6.0.0
-
isEntity
public boolean isEntity()
Returnstrueif the matching language component is an entity.- Since:
- 6.0.0
-
-