Comments (3)
Iām not positive, but I seem to remember that the pre-processing regex removes all digits. You probably can edit the regex though.
from mallet.
Yes, use --token-regex '\d+'
. You're probably getting NaN
because there are zero recognized tokens, and it's trying to divide by that number.
from mallet.
Thank you for your response.
I added [0-9]* in the regex. That is equivalent to this, right?
Also, I am trying to index around 300k documents using this command, but it's been ~24hours since its running, still not completed.
Any suggestions around this?
from mallet.
Related Issues (20)
- SimpleTagger allow other input than file-based HOT 1
- Bug or deadcode in SelectiveSGML2TokenSequence.java
- Running LDA model in python and got error message "returned non-zero exit status 127" HOT 1
- Suppress or redirect to file Mallet LDA building messages HOT 1
- Test Failure HOT 1
- Lemmatization HOT 1
- Not clear if `trainingProportions` may be `null` HOT 2
- Hyperparameter optimization when training Labeled LDA? HOT 1
- Recommended Word Number HOT 1
- mallet bash wrapper script misses an option to set Java heap size like most other scripts. HOT 2
- Computing Perplexity HOT 1
- Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded HOT 1
- puzzling results with simple test code, replicates on gensim -- possibly because of very short documents? HOT 2
- Auto-correlation between samples (Binkley et al.)
- Lemmatizing with Mallet HOT 1
- 404 on download page HOT 2
- "https://mimno.github.io/Mallet/classifier-devel" is missing in homepage! HOT 2
- Can't run mallet via python due to FileNotFoundError HOT 4
- How to use the word stemming function in Mallet HOT 2
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 mallet.