[ 
https://issues.apache.org/jira/browse/CTAKES-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Joseph Masanz closed CTAKES-32.
-------------------------------------

just cleaning up old JIRA issues that hadn't been closed

> 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: 3.0-incubating
>            Reporter: Pei Chen
>            Assignee: James Joseph Masanz
>             Fix For: 3.1.0
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to