You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2021/08/25 18:31:00 UTC
[jira] [Created] (NLPCRAFT-429) IDL tokens relative functions -
add similar with token positions argument.
Sergey Kamov created NLPCRAFT-429:
-------------------------------------
Summary: IDL tokens relative functions - add similar with token positions argument.
Key: NLPCRAFT-429
URL: https://issues.apache.org/jira/browse/NLPCRAFT-429
Project: NLPCraft
Issue Type: Task
Components: probe
Reporter: Sergey Kamov
Assignee: Aaron Radzinski
Fix For: 0.9.1
For functions like tok_is_between_ids() etc (before, after, ...)
we have to add functions with additional position parameters.
Function example: tok_is_between_ids(elemId1, elem1NumInText, elemId2, elem2NumInText)
Usage example: tok_is_between_ids(e1, 1, e2, 3)
which means "find token between first element e1 and third e2" - if expected sentence contains multiple elements e1 or/and e2.
yes, there are many new additional functions, but with similar names and functionality. so, these additional functions shouldn't confuse users.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)