Comments (6)
Could you increase the memory options like change it to -Xmx4g. If it still doesn't work, let me know approximately the number of sentences you are working on.
from ollie.
The web page I was trying to process is this: https://podaac.jpl.nasa.gov/ADEOS-II , which is a pretty small page.
Yes, it works when I increased it to 4g, but what if I want to process a large doc like an academic paper. After I looked at the code, I start to wonder if it's really necessary to need to pass the entire text as a string into OpenID, because I didn't see any dependency when experimenting with "Obama is the US president. He works in White House." Therefore, I split raw text into sentences with OpenNLP, and pass each of them to openIE(sentence[i]). It works with the original heap size (2700m).
I compared these two set of results, there is slight difference, which makes me think there might be some additional processing inside. Also, it looks like stanford OpenIE (http://nlp.stanford.edu/software/openie.html) is somehow built on Ollie or Reverb, but why their results are so different with the same input.
from ollie.
There is actually no need to pass the entire text as a string into OpenIE. The OpenIE demo (https://github.com/OpenIE-HelperCodes/OpenIEDemo1/blob/master/src/runner/RunMe.java) shows the usage for a single sentence, and one is expected to pass a single sentence at a time.
from ollie.
Also. While the current version is designed keeping the lessons from ReVerb and Ollie in mind, the code by itself has no direct relation to them. So the results are expected to be different, typically better; but for some sentences, could be worse.
Thanks!
Mausam
Sent from my phone
On Jul 15, 2016, at 12:25 PM, Swarnadeep Saha [email protected] wrote:
There is actually no need to pass the entire text as a string into OpenIE. The OpenIE demo (https://github.com/OpenIE-HelperCodes/OpenIEDemo1/blob/master/src/runner/RunMe.java) shows the usage for a single sentence, and one is expected to pass a single sentence at a time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from ollie.
Alright. Thanks guys. It looks like both package cannot handle pronouns, since they don't know "he" in the second sentence is "Obama", given a sentence "Obama is the US president. He works in White House." In this case, I think I can just split the sentence by myself anyway.
from ollie.
That's correct. You can easily combine it with any coreference resolution system and alpha-substitute pronouns to referents.
Thanks!
Mausam
Sent from my phone
On Jul 15, 2016, at 1:39 PM, Yongyao Jiang [email protected] wrote:
Alright. Thanks guys. It looks like both package cannot handle pronouns, since they don't know "he" in the second sentence is "Obama", given a sentence "Obama is the US president. He works in White House." In this case, I think I can just split the sentence by myself anyway.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from ollie.
Related Issues (20)
- Ollie mishandles parentheses
- Ollie screws up "not"
- Ollie mishandles 'and' in relation HOT 2
- Ollie doesn't attach of in prepc_of
- Switch to ClearParser HOT 3
- Expand rel/arg in uncollapsed graph
- Ollie sometimes inserts "be" over conjunction edge HOT 2
- Ollie croaks on null HOT 3
- My ollie can't work. HOT 2
- Ollie doesn't build correctly
- Error when creating dependency graph
- Is there has any code about Open Pattern Learning? HOT 1
- What can I do to train a model?
- Java Version for Successful Build HOT 1
- Build fails with Java 1.8.0_92-b14, Mac Sierra HOT 3
- Compile Error in JavaOllieWrapper.java HOT 6
- Whether is the tool suitable for chinese? HOT 1
- how to set expandExtraction to false and run Ollie from source? HOT 3
- can i use the model in chinese. 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 ollie.