Comments (3)
Making progress. It's taken me a while to get back into using Eclipse. It turns out the current working directory was pointing at the location of my Project workspace instead of the main OpenEphrya directory (which is OpenEphyra). Since the NLP data files are using relative paths they wouldn't load of course until this was fixed.
Now I'm having an ArrayIndexOutOfBounds Exception fire off on this line:
TRECTarget[] targets = TREC13To16Parser.loadTargets(args[0]);
I'm assuming this is because args[0] is empty and loadTargets() is expecting a file name. However, I checked the contents of OpenEphyra.sh and I don't see it using any command line arguments when it launches the app with this java command line:
java -Xms512m -Xmx1024m info.ephyra.OpenEphyra
What file name should I supply as a target to the loadTargets() method in WebTermImportanceFilter.java?
from openephyra.
Looks like I had one last hurdle to overcome. There are two classes with main() methods in them (two runnable "main" targets): OpenEphyra and WebTermImportanceFilter. When you open the OpenEphyra project in Eclipse, default target is WebTermImportanceFilter and not OpenEphyra. I went into Run -> Run Configurations and changed the run target to OpenEphyra and everything began to work. (Note to others trying to get OpenEphyra running. Remember to put your Bing Search API key into the source code. You can get one from the Azure Data Market. Look for the string BING_AZURE_ID in the source code).
I hope my play-by-play in getting OpenEphyra running helps someone else.
If anyone knows the best paper on OpenEphyra that can help me tune my results in speed and accuracy, please leave the URL here. Right now a query takes about 15 seconds to complete. Obviously on a busy server with thousands of users that's going to problem. Even for a single user I believe most users would expect an answer faster than that.
Also, I asked a relatively simple question "What is a dog?". And the answer selected only had a score of 0.114106245 and went to a web page about dog breeds. I would think with such a straightforward question a better answer would be available?
from openephyra.
Hi @roschler - sorry for chiming in late, I've not worked on this project for over a year. I do recall running into similar problems with Eclipse as you've experienced...when I get a chance, I'll dig out my build VM and see if I can jog my memory on what the secret sauce was for getting it to work.
Cheers!
from openephyra.
Related Issues (8)
- Language support
- Erreur : impossible de trouver ou charger la classe principale HOT 3
- Error when running shell for OpenEphyra on Mac HOT 2
- Release tarballs on github HOT 7
- Thread Problems HOT 1
- OpenEphyra.sh execution failed Could not find or load main class info.ephyra.OpenEphyra HOT 7
- Is it possible to train the system using unicode text?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openephyra.