Comments (5)
The binaries (i.e. jar file) are on Maven Central. Download it yourself, or better yet, use Maven or Ivy for dependency management. Code samples in the README are more than sufficient.
from language-detector.
Yeah it's a bit tricky for fresh developers to get started with all those technologies. The Maven identifier is the first thing on the project's page. So anyone who has used that instantly knows what's to do.
Here's the Maven Central page http://search.maven.org/#artifactdetails|com.optimaize.languagedetector|language-detector|0.5|jar where the Jar is linked.
As with other code libraries out there, a minimal knowledge is required.
from language-detector.
I'm getting an error for "languageDetector.detect(textObject);" -- it says "The type com.google.common.base.Optional cannot be resolved. It is indirectly referenced from required .class files." How do I fix this? The only thing it advises me to do is to fix the build path, but I have no other jars to add.....
from language-detector.
Never mind, I switched to getProbabilities() and fixed that problem, but now when I run it, it says "Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Splitter" which I've found seems to indicate that I'm missing a jar, but I have them included. What could be wrong?
from language-detector.
According to the messages you must be missing the Guava library. (Googling the class path of the mentioned classes Optional and Splitter shows that.)
from language-detector.
Related Issues (20)
- "dallas" is recognised as Spanish Language HOT 1
- No way to change default n-gram size from 3 to something else HOT 1
- Source of language corpus
- How to remoe Logback from dependencies
- Text with English and Japanese characters is identified as Galician or Basque HOT 1
- Is it this repo still actively maintained? HOT 2
- FYI: Language detector Lingua outperforming Optimaize HOT 4
- Remove or limit dependency to spring
- Japanese detection is not good HOT 8
- Pls help HOT 1
- How to build and install language detector HOT 1
- How to use this Library in Netbeans project
- Upper case English text returns a low probability
- misdetection because of break at CONV_THRESHOLD HOT 1
- incorrect shortTextAlgorithm documentation HOT 1
- How to set short-text profile from Java code HOT 1
- MAIL_REGEX should be limited
- TextObjectFactory changes text HOT 2
- Every Time It Returns only absent() HOT 2
- How to retrieve particular languages in language profile reader HOT 1
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 language-detector.