Git Product home page Git Product logo

Comments (5)

NourAlMerey avatar NourAlMerey commented on July 23, 2024 1

Problem Solved: I downgraded to a previous SpaCy version.
Many thanks

from errant.

chrisjbryant avatar chrisjbryant commented on July 23, 2024

Sorry to hear you are having trouble. Can you tell me what command you are running exactly?

from errant.

NourAlMerey avatar NourAlMerey commented on July 23, 2024

I'm using edits = self._get_edits(orig, cor). Inside this method, you call the self.annotator.parse(orig) and that's what's causing the problem.
Many thanks for your reply

from errant.

chrisjbryant avatar chrisjbryant commented on July 23, 2024

Can you give more information? E.g. what are you trying to do? There is no _get_edits(orig, cor) function in ERRANT, so I'm not sure what code you're running. :s

from errant.

NourAlMerey avatar NourAlMerey commented on July 23, 2024

Oh, my bad. I'm sorry for miss explaining the problem. So I want to use Errant to get the edits happening on one string to produce the other (the first string being the incorrect sentence and the other being the correct one). To do that, I'm parsing the two strings using Errant and then doing an alignment by calling the align function. Finally, I'm calling the Errant merge function.

from errant.

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.