Yes! Now it works. Apparently I was missing the -xmi option in the arguments passed to the program. The reason for this is that when you suggested that I used RunAE class to build my token model, I read the documentation written above the class (in source code) Here you (the uima team) forgot to describe the -xmi option. :-/ I found it when I tried to run it from the terminal.
thanks for you help Jörn. Peter Thygesen Den 13. apr. 2012 11.47 skrev Jörn Kottmann <[email protected]>: > On 04/12/2012 11:32 AM, Peter Thygesen wrote: > >> Strange. Still problems. I reduced the corpus files to 10 files. running >> with RunAE still doesn't produce any events, but when I run it with UIMA >> Analysis Engine configuration it works. >> > > That sounds strange, because it should not make a difference at all. > Trivial reasons for that are that something is really different, > e.g. you consume not the same CASes, you use another xml descriptor > for the training, etc. I suggest to double check that. > > Or you are just hitting some kind of bug. To figure that out we should > improve the log output of the OpenNLP Tokenizer Trainer AE in a way > it actually tells us what is wrong. > Would you mind to build a trunk version of OpenNLP and test with that one > instead? > > Jörn > >
