Comments (3)
Only some extractions can be converted to the passive form. The verb must be transitive (accept an object) and have an object.
I threw the ball at Jim.
(I, threw the ball at, Jim) -> (Jim, was thrown the ball, by I)
Jim threw the ball.
(the ball, be thrown by, Jim)
These sound rather weird.
The bullet left the gun.
(The bullet, left, the gun) -> (the gun, is left by, the bullet)
The boy resembled a woman.
(The boy, resembled, a woman) -> (a woman, was resembled by, The boy)
The marmot exited the hole.
(the hole, be exited by, the marmot)
There are problems moving passive constructions to active constructions.
Jim was thrown the ball by me.
(Jim, was thrown, the ball) -> ???
(Jim, was thrown the ball by, me) -> ???
from ollie.
Easy examples give us uglier extractions.
I threw the ball at Jim.
(I, threw the ball at, Jim) -> (Jim, was thrown the ball by, I)
We might prefer (the ball, was thrown at Jim by, I) or (the ball, was thrown by, I) but there's no clear way to get those. For the latter we would need shape patterns. Otherwise we have trouble with other uses of "by".
Michael had thrown him by the garbage.
Some verbs don't handle the transformation well.
The boy resembled a woman.
(The boy, resembled, a woman) -> (a woman, was resembled by, The boy)
We actually caught passive->active transformations, but they happened very infrequently.
The ball was thrown to Jim by me.
(The ball, was thrown to, Jim) -> nothing
(The ball, was thrown by, me) -> (me, was thrown, the ball)
The last extraction looks pretty awful, but "was" appears in the graph. If we want passive->active conversions I need to make some change so we avoid "be" in the relation.
from ollie.
Some other options:
- Switch the voice of the entire graph. The problem here is that there might be multiple structures to be switched.
- Switch the voice of the extraction as a post processing step. The problem here is that it's not clear how to rebuild the text for the extraction.
- Add patterns to capture the active voice when the passive is used. The problem here is that auxpasses will fold into the active extractions.
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
- How to make Ollie or OpenIE work with medium size of data in Java project HOT 6
- 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.