Git Product home page Git Product logo

Comments (3)

schmmd avatar schmmd commented on July 1, 2024

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.

schmmd avatar schmmd commented on July 1, 2024

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.

schmmd avatar schmmd commented on July 1, 2024

Some other options:

  1. Switch the voice of the entire graph. The problem here is that there might be multiple structures to be switched.
  2. 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.
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.