Code Monkey home page Code Monkey logo

maui-standalone's People

Contributors

rvowles avatar zelandiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

maui-standalone's Issues

Build fails due to a snapshot dependency

Users should be able to pull all dependencies from Maven central so you shouldn't depend on snapshots:
`

        <groupId>com.entopix</groupId>
        <artifactId>maui</artifactId>
        <version>1.3.0-SNAPSHOT</version>
`

Changing to 1.3.0 fixed it for me. I don't have access right to open a pull req. (and it wasn't important enough for me to fork it)

Maui fail to build thesaurus with text vocabulary

13 Okt 2014 10:44:34 INFO MauiTopicExtractor - Extracting keyphrases with options:
13 Okt 2014 10:44:34 INFO MauiTopicExtractor - -l data/docs/EconBiz_test -m data/models/stw_keyword_extraction_model_top_100 -v data/vocabulary/stw_top_100_keywords.txt -f text -e default -i en -n 5 -c 0.0 -t com.entopix.maui.stemmers.PorterStemmer -s com.entopix.maui.stopwords.StopwordsEnglish
13 Okt 2014 10:44:34 INFO MauiTopicExtractor - -- Loading the model...
13 Okt 2014 10:44:35 INFO MauiTopicExtractor - --- Loading the vocabulary...
13 Okt 2014 10:44:35 INFO Vocabulary - --- Loading Vocabulary from text files...
13 Okt 2014 10:44:35 INFO Vocabulary - -- Building the Vocabulary index
13 Okt 2014 10:44:35 ERROR MauiTopicExtractor - Failed to load thesaurus!
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1954)
at com.entopix.maui.vocab.Vocabulary.buildTEXT(Vocabulary.java:493)
at com.entopix.maui.vocab.Vocabulary.initializeFromTXTFiles(Vocabulary.java:401)
at com.entopix.maui.vocab.Vocabulary.initializeVocabulary(Vocabulary.java:131)
at com.entopix.maui.main.MauiTopicExtractor.loadVocabulary(MauiTopicExtractor.java:442)
at com.entopix.maui.main.MauiTopicExtractor.loadModel(MauiTopicExtractor.java:575)
at com.entopix.maui.main.MauiTopicExtractor.main(MauiTopicExtractor.java:639)
at com.entopix.maui.StandaloneMain.main(StandaloneMain.java:107)
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:483)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
at java.lang.Thread.run(Thread.java:745)

The vocabulary is a text file with 241 lines of text. The training sequence went without an error message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.