Comments (1)
I have a similar issue. I believe the problem is that the EngineGetter is
expecting to find files with names like 'CONFIGURATION', 'FEATURE', etc, (see
e.g., EngineGetter.java, line 154), but in the new models the zipped files have
names like 'pos_CONFIGURATION' and 'posFEATURE0'. Since the EngineGetter
functions look for file names using strict equality, in functions like
getPosTaggers() (EngineGetter.java, line 138), the function loops without
finding anything, and most fields stay null. To fix this, model files should
either be renamed, or some other sort of file matching should take place in
EngineGetter.java.
Original comment by [email protected]
on 9 Feb 2013 at 4:22
from clearnlp.
Related Issues (10)
- EngineGetters should throw exception instead of returning null HOT 2
- Potentially incorrect tokenization HOT 3
- lightweight, low-memory models would be useful for unit testing HOT 1
- InputStream for EngineGetters HOT 1
- NPE in DEPNode.toString(List<DEPArc> heads) HOT 1
- MPAnalyzer gives null pointer exception
- Adding personal file for training tokenizer
- error in tokenization
- ClearNLP Error: java.lang.NullPointerException at com.googlecode.clearnlp.tokenization.EnglishTokenizer.normalizeNonUTF8 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 clearnlp.