Friday, 15 July 2011

mallet - infinity value error after token regex command -



mallet - infinity value error after token regex command -

i'm trying utilize command --token-regex '[\p{l}\p{m}]+', usual commands importing text, mallet can read high german text. no error-message shown , new file created. suspiciously little however. then, using train-topics run topic-model, next error message shown:

3 5 4 5 5 5 6 5 7 5 8 5 9 5 infinite value after topic 0 0 <350> ll/token: ´┐¢ infinite value after topic 0 0 <360> ll/token: ´┐¢ infinite value after topic 0 0 <370> ll/token: ´┐¢ infinite value after topic 0 0 <380> ll/token: ´┐¢ infinite value after topic 0 0 <390> ll/token: ´┐¢

i've been trying prepare hours using different token regex commands nil seems work, help apreciated.

if using windows, seek like:

--token-regex "[\p{l}\p{m}]+"

upd: can find give-and-take on "single vs double quotes in cmd.exe" here: what single quote in windows batch files?

mallet

No comments:

Post a Comment