Comments (5)
I'm not sure what the exact limit is but I'm not surprised that it failed
with 20M types. You can try using the restrict command line option to
restrict it to a smaller vocabulary. The brown clustering algorithm dates
back to a time when people didn't have 14GB text files to work with.
On Thu, Mar 3, 2016 at 9:04 PM, Mohammad Sadegh Rasooli <
[email protected]> wrote:
The code fails (with core dump: segmentation fault message) when I run it
on a huge txt file (about 20M types and 14GB file size). I already used
wcluster for different files with much less types and it worked pretty well.Is there any limit for the vocabulary size (#types)?
—
Reply to this email directly or view it on GitHub
#14.
from brown-cluster.
I have noticed that at the end of March a new commit was performed. The commit is labeled "Enable >= 2^31 tokens in input data" so I thought it would have addressed the issue raised here. However, I still ran into an issue similar to the one mentioned by rasoolims. I'm able to successfully run the code only with a file containing 10M tokens (700K types). With bigger files it fails saying "core dump: segmentation fault".
Any suggestion?
thanks
from brown-cluster.
Did you try using the flag to restrict the vocabulary?
On Thursday, July 14, 2016, lavelli [email protected] wrote:
I have noticed that at the end of March a new commit was performed. The
commit is labeled "Enable >= 2^31 tokens in input data" so I thought it
would have addressed the issue raised here. However, I still ran into an
issue similar to the one mentioned by rasoolims. I'm able to successfully
run the code only with a file containing 10M tokens (700K types). With
bigger files it fails saying "core dump: segmentation fault".
Any suggestion?thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AGgz7eAylui6B0cmpcscgN284LJzMC8Oks5qVe3UgaJpZM4HpFcE
.
from brown-cluster.
Do you mean the min-occur flag?
It seems to have an impact only on efficiency.
from brown-cluster.
I know this is late and probably not important to OP anymore but for any other people facing the same issue, this pr fixed the issue for me.
from brown-cluster.
Related Issues (15)
- A library for brown clustering? HOT 1
- Broken link to thesis HOT 2
- When size of data is large (over 100 MB), Brown-cluster program will be killed. How can I fix this error? HOT 2
- what are these results? HOT 1
- Is it possible to cluster new documents without relearning everything? HOT 2
- Running The code HOT 2
- what happened if length of text is bigger than INT_MAX ?
- Clustering perplexity measure
- basic/prob-utils.cc:8:37: error: ‘M_PI’ was not declared in this scope HOT 1
- How to choose optimized number of cluster for specific input corpus ?
- Question
- Problem compiling on Windows 7 HOT 8
- how Paths2map is used
- Speed up with compiler optimization 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 brown-cluster.