You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Pei Chen (JIRA)" <ji...@apache.org> on 2012/08/22 22:58:42 UTC
[jira] [Created] (CTAKES-32) dictionary lookup creates new
LookupTokens many times
Pei Chen created CTAKES-32:
------------------------------
Summary: dictionary lookup creates new LookupTokens many times
Key: CTAKES-32
URL: https://issues.apache.org/jira/browse/CTAKES-32
Project: cTAKES
Issue Type: Improvement
Reporter: Pei Chen
Assignee: James Joseph Masanz
When constrainToWindow method is used in DictionaryLookupAnnotator, the use of lInit.getLookupTokenIterator(jcas) for each lookup window causes a new list of LookupAnnotationToJCasAdapter objects to get created.
This slows down dictionary lookup.
One possible improvement is for the getLookupTokenIterator to only build the list once, and simple return a new iterator on the already-built list.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CTAKES-32) dictionary lookup creates new
LookupTokens many times
Posted by "Pei Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CTAKES-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pei Chen updated CTAKES-32:
---------------------------
Affects Version/s: 2.6-incubating
> dictionary lookup creates new LookupTokens many times
> -----------------------------------------------------
>
> Key: CTAKES-32
> URL: https://issues.apache.org/jira/browse/CTAKES-32
> Project: cTAKES
> Issue Type: Improvement
> Affects Versions: 2.6-incubating
> Reporter: Pei Chen
> Assignee: James Joseph Masanz
> Fix For: 3.1-incubating
>
>
> When constrainToWindow method is used in DictionaryLookupAnnotator, the use of lInit.getLookupTokenIterator(jcas) for each lookup window causes a new list of LookupAnnotationToJCasAdapter objects to get created.
> This slows down dictionary lookup.
> One possible improvement is for the getLookupTokenIterator to only build the list once, and simple return a new iterator on the already-built list.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CTAKES-32) dictionary lookup creates new
LookupTokens many times
Posted by "Pei Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CTAKES-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pei Chen updated CTAKES-32:
---------------------------
Fix Version/s: 3.1-incubating
> dictionary lookup creates new LookupTokens many times
> -----------------------------------------------------
>
> Key: CTAKES-32
> URL: https://issues.apache.org/jira/browse/CTAKES-32
> Project: cTAKES
> Issue Type: Improvement
> Affects Versions: 2.6-incubating
> Reporter: Pei Chen
> Assignee: James Joseph Masanz
> Fix For: 3.1-incubating
>
>
> When constrainToWindow method is used in DictionaryLookupAnnotator, the use of lInit.getLookupTokenIterator(jcas) for each lookup window causes a new list of LookupAnnotationToJCasAdapter objects to get created.
> This slows down dictionary lookup.
> One possible improvement is for the getLookupTokenIterator to only build the list once, and simple return a new iterator on the already-built list.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira