Closed jbingel closed 8 years ago
I had the same problem, both when I used the jar supplied and also when building the jar from scratch. I was able to resolve it by changing the function declaration in line 57 of src/main/java/edu/berkeley/cs/nlp/ocular/main/InitializeFont.java to public static void main(String[] args) {
and rebuilding the jar.
I'm not sure whether this was the best thing to do, but it seems to work.
I managed to train a language model, but get a NPE when trying to initialize the font model (step 2). I use the self-contained Jar (0.3-SNAPSHOT, downloaded 2 May 2016).
Error stacktrace is attached. npe.txt