[developers] pyDelphin / [incr tsdb()] question

Alexandre Rademaker arademaker at gmail.com
Thu Apr 11 19:21:24 CEST 2019


> On 11 Apr 2019, at 00:38, goodman.m.w at gmail.com wrote:
> 
> I would modify Xigt's exporter to insert the number of tokens in the i-length field. E.g., at the end of export_igt() put something like this before the return statement:
> 
>         row['i-length'] = len(row['i-input'].split())

Is this the generic python split method from strings? Is it safe? What about possible non whitespace exceptions on the tokenisation?

Best,
Alexandre




More information about the developers mailing list