GithubHelp home page GithubHelp logo

kea-algorithm's People

kea-algorithm's Issues

ArrayIndexOutOfBoundsException in KEAModelBuilder

What steps will reproduce the problem?
1. have NLTK corpus installed
2. add in VOCABULARIES the thesaurus from 
http://www.archivesdefrance.culture.gouv.fr/thesaurus/page/Matiere ( click on 
Téléchargement ).
3. java kea.main.KEAModelBuilder -l 
$HOME/nltk_data/corpora/europarl_raw/french/ -m europarl -i fr -v 
archivesdefrance.culture.gouv.fr_thesaurus_Matiere -f skos

What is the expected output? What do you see instead?
...
-- Building the Vocabulary index from SKOS file
nov. 12, 2011 9:11:34 PM com.hp.hpl.jena.rdf.model.impl.RDFDefaultErrorHandler 
warning
Avertissement: file:///home/jmv/src/kea-5.0_full/(line 19 column 12): {W113} 
rdf:date is not a recognized RDF property or type.
-- Reading the Documents... 
java.lang.ArrayIndexOutOfBoundsException: 0
    at weka.core.FastVector.elementAt(Unknown Source)
    at weka.core.Attribute.value(Unknown Source)
    at weka.core.Instance.stringValue(Unknown Source)
    at weka.core.Instance.stringValue(Unknown Source)
    at kea.filters.KEAFilter.buildClassifier(KEAFilter.java:900)
    at kea.filters.KEAFilter.batchFinished(KEAFilter.java:792)
    at kea.main.KEAModelBuilder.buildModel(KEAModelBuilder.java:805)
    at kea.main.KEAModelBuilder.main(KEAModelBuilder.java:837)
0
...

What version of the product are you using? On what operating system?
kea-5.0_full.zip

Please provide any additional information below.
% uname -a ; java -version
Linux oem-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 
x86_64 x86_64 x86_64 GNU/Linux
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

Original issue reported on code.google.com by jeanmarc.vanel on 12 Nov 2011 at 8:16

No interface

People who need to use this tool aren't all programmers. Why not add an 
interface? 

Original issue reported on code.google.com by [email protected] on 20 Nov 2012 at 10:41

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.