Skip to content

Run time exception #1

@eliksr

Description

@eliksr

Hi, i tried to run this project on my computer, first i had to fix some compilation error but after all it was compiled.
now i'm trying to run the project but i get the following exception, can you help me with this?

Exception:
INFO: [sqlite] Internal: loaded sqlite 3.7.10, wrapper 0.2
Dec 09, 2015 8:45:19 AM com.almworks.sqlite4java.Internal log
INFO: [sqlite] DB[1]: opened
Dec 09, 2015 8:45:19 AM com.almworks.sqlite4java.Internal log
INFO: [sqlite] DB[1]: connection closed
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at at.rovo.stemmer.PorterStemmer.endsWith_cvc(PorterStemmer.java:674)
at at.rovo.stemmer.PorterStemmer.step5(PorterStemmer.java:548)
at at.rovo.stemmer.PorterStemmer.stem(PorterStemmer.java:47)
at at.rovo.parser.ParserUtil.formatText(ParserUtil.java:299)
at at.rovo.parser.Parser.addWord(Parser.java:944)
at at.rovo.parser.Parser.processTokens(Parser.java:816)
at at.rovo.parser.Parser.parseToTokens(Parser.java:634)
at at.rovo.parser.Parser.tokenize(Parser.java:551)
at at.rovo.textextraction.mss.TrainingEntry.train(TrainingEntry.java:429)
at at.rovo.textextraction.SQLiteDBTrainer.trainModel(SQLiteDBTrainer.java:180)
at at.rovo.textextraction.TextExtractor.initTrainingSamples(TextExtractor.java:207)
at at.rovo.Main.(Main.java:160)
at at.rovo.Main.main(Main.java:475)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions