dkpro-core icon indicating copy to clipboard operation
dkpro-core copied to clipboard

CasTransformation is slow when many changes have to be made

Open reckart opened this issue 10 years ago • 5 comments

If CasTransformation is used the apply a lot of changes, it is very slow.

Original issue reported on code.google.com by torsten.zesch on 2012-06-05 16:18:46

reckart avatar May 12 '15 21:05 reckart

Added updateCaches() that should be called before done after running modifications and
before doing a lot of resolving to speed things up a bit. This caches the start position
at the moment. Resolving would further be improved if it would really calculate all
offsets in one go, because then resolving would basically be a lookup. Currently, resolving
requires a lot of iteration through the linked list of segments.

Original issue reported on code.google.com by richard.eckart on 2012-06-09 21:27:21

reckart avatar May 12 '15 21:05 reckart

Thanks for looking into it.
I ran the experiments again. It seems to be a bit faster, but still too slow for production
use.

Original issue reported on code.google.com by torsten.zesch on 2012-06-12 07:09:11

reckart avatar May 12 '15 21:05 reckart

(No text was entered with this change)

Original issue reported on code.google.com by richard.eckart on 2012-10-13 18:31:41

  • Labels added: DKPro-ASL

reckart avatar May 12 '15 21:05 reckart

(No text was entered with this change)

Original issue reported on code.google.com by richard.eckart on 2013-09-29 14:57:45

  • Labels added: Module-castransformation

reckart avatar May 12 '15 21:05 reckart

(No text was entered with this change)

Original issue reported on code.google.com by torsten.zesch on 2014-02-28 11:47:33

reckart avatar May 12 '15 21:05 reckart