Some trial for UBY library.
Tests are in UbyTest
Loaded xmls are in files/ folder, including UBY standard xml example to compare with.
In order to use Maven, as of this writing (Apr 26, 2016) there are no Maven uby artifacts on central, but they are in a separate repo provided by UBY maintainers, see Download instructions for using them in your project.
For loading example xmls, in order to avoid exceptions like
Caused by: org.dom4j.DocumentException: ids for this class must be manually assigned before calling save(): de.tudarmstadt.ukp.lmf.model.core.LexicalResource Nested exception: ids for this class must be manually assigned before calling save(): de.tudarmstadt.ukp.lmf.model.core.LexicalResource
I did this:
- Added name to LexicalResource:
<LexicalResource name="Some trial es">
- Added id to Lexicon:
<Lexicon id="some-id-es"