computerline1z / okapi

Automatically exported from code.google.com/p/okapi
0 stars 0 forks source link

Length limitation in batch Translation #230

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the batch translation step, a segment cannot be larger than MAXINT because 
the temporary binary store used DataOutputStream.writeUTF() which uses an int 
for storing the length.
We need to have a special multi-write method for very long strings.
There may be one to re-use from the Vignette Filter.

Original issue reported on code.google.com by yves.sav...@gmail.com on 16 May 2012 at 11:41

GoogleCodeExporter commented 9 years ago
Fixed. We write allow the string to be written in multiple blocks now.

Original comment by yves.sav...@gmail.com on 16 May 2012 at 12:14

GoogleCodeExporter commented 9 years ago
This issue was closed by revision bb95a359caa9.

Original comment by yves.sav...@gmail.com on 16 May 2012 at 12:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision bb95a359caa9.

Original comment by yves.sav...@gmail.com on 12 Jul 2012 at 2:57