| commit | 6d565078709daab2b979c5fefe2f8dfc5c6ab912 | [log] [tgz] |
|---|---|---|
| author | Nils Diewald <nils@diewald-online.de> | Thu Oct 30 23:20:58 2014 +0000 |
| committer | Nils Diewald <nils@diewald-online.de> | Thu Oct 30 23:20:58 2014 +0000 |
| tree | f0c425d7a385e108e05b980a2a5db6e82dc46b0c | |
| parent | 32e30f07a3ddd06b4af06d74190de0699bfab5b8 [diff] [blame] |
Fixed payloads, sorted tokens, major speed improvements
diff --git a/lib/KorAP/Index/XIP/Sentences.pm b/lib/KorAP/Index/XIP/Sentences.pm index f045152..35ab6f1 100644 --- a/lib/KorAP/Index/XIP/Sentences.pm +++ b/lib/KorAP/Index/XIP/Sentences.pm
@@ -18,7 +18,8 @@ term => '<>:xip/s:s', o_start => $span->o_start, o_end => $span->o_end, - p_end => $span->p_end + p_end => $span->p_end, + payload => '<b>2' ); $i++; } @@ -29,4 +30,9 @@ return 1; }; +sub layer_info { + ['xip/s=spans']; +}; + + 1;