Giter Site home page Giter Site logo

class not found error about fel HOT 9 CLOSED

yahoo avatar yahoo commented on May 2, 2024
class not found error

from fel.

Comments (9)

aasish avatar aasish commented on May 2, 2024

Can you make sure you ran mvn install package and following dependency (fastutil) is present in your local mvn repository.

<dependency> <groupId>it.unimi.dsi</groupId> <artifactId>fastutil</artifactId> <version>6.5.12</version> </dependency>

from fel.

zphuangHKUCS avatar zphuangHKUCS commented on May 2, 2024

Thanks for your reply!

After I ran mvn install package, I got a new folder named "target", under which I can see the following:

1

Then, I cd into folder "classes", and ran
"java -Xmx10G com.yahoo.semsearch.fastlinking.FastEntityLinker --help"
, and got the following error:

2

I wonder whether I ran the project wrongly. Thanks a lot!

from fel.

aasish avatar aasish commented on May 2, 2024

Please run the command in the project's working directory i.e., ~/zphuang/git/FEL

from fel.

zphuangHKUCS avatar zphuangHKUCS commented on May 2, 2024

Thanks for your reply. Even though I run the command in the working directory, the same error happens. I am afraid that I have not downloaded the dependencies. The following pic shows the target folder.

image

Is it normal that we only have two .jar files?

from fel.

aasish avatar aasish commented on May 2, 2024

@zphuangHKUCS Can you try following command

mvn clean compile exec:java -Dexec.mainClass=com.yahoo.semsearch.fastlinking.FastEntityLinker Dexec.args=" en/english-nov15.hash" -Dexec.classpathScope=compile

from fel.

zphuangHKUCS avatar zphuangHKUCS commented on May 2, 2024

Thanks for your reply. But I still encounter an error:

[ERROR] Unknown lifecycle phase "Dexec.args= en/english-nov15.hash". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

from fel.

ArthurCamara avatar ArthurCamara commented on May 2, 2024

Anything new on this issue? @zphuangHKUCS @aasish

from fel.

emilioalvarado avatar emilioalvarado commented on May 2, 2024

I'm dissapointed for not find a solution for these basic problems, I tried a lot of ways in order to run the FEL project but it was not possible. I hoped a basic runnable example, more if coming from Yahoo team.
For Entity Identification, I recommend the Stanford project (https://nlp.stanford.edu/software/CRF-NER.shtml). They have a clear explanation, working examples and an online demo (http://nlp.stanford.edu:8080/ner/process).

from fel.

aasish avatar aasish commented on May 2, 2024

@zphuangHKUCS @ArthurCamara @emilioalvarado
The error mentioned in @zphuangHKUCS's latest comment is due to missing hyphen in Dexec.args.
This project requires a valid Maven installation as a dependency (as listed in the README).

from fel.

Related Issues (20)

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.