Class EngineAccess.LangCompMatch
- Object
-
- LanguageComponentMatch
-
- LangCompMatch
-
- Enclosing class:
- EngineAccess
public static final class EngineAccess.LangCompMatch extends LanguageComponentMatch
Entry 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 String
getLangCompName()
The name of the matching language object / entity.String
getLangObjName()
Deprecated.UsegetLangCompName()
.SortedSet<Integer>
getUsedWords()
The indices of the sentence words fulfilling the condition of this language object match.boolean
isEntity()
Returnstrue
if the matching language component is an entity.boolean
isLanguageObject()
Returnstrue
if 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()
Returnstrue
if the matching language component is a language object.- Since:
- 6.0.0
-
isEntity
public boolean isEntity()
Returnstrue
if the matching language component is an entity.- Since:
- 6.0.0
-
-