Git Product home page Git Product logo

Comments (4)

jrfaller avatar jrfaller commented on August 19, 2024

Hi Christopher,

Thanks for the feedback. It is highly possible that the edit script serializer is not entirely correct w.r.t. to node ids or positions because it has not been tested extensively.

Normally the edit script is formalized in our ASE paper you can read it to better understand. Maybe if you have a (small) case with a problem, you can attach the files here and I will take a look at it.

from gumtree.

ChrisTimperley avatar ChrisTimperley commented on August 19, 2024

I'll put together a few unit tests today on my fork to test whether the output matches what I'm expecting, then I'll add a short description here, together with a quick definition of the edit operations, based on the ASE paper.

from gumtree.

ChrisTimperley avatar ChrisTimperley commented on August 19, 2024

I ended up finding a slightly simpler way around the problem (in theory). I just need to use the mappings to work out the IDs of the nodes of interest in P and P', and from there I can do all kinds of clever analyses (some of which use the mappings to simplify things).

I recall seeing that someone else had modified GumTree to return the mappings, in addition to the edit script. I don't suppose you know the simplest way I might go about doing that?

from gumtree.

ChrisTimperley avatar ChrisTimperley commented on August 19, 2024

Accepting this pull request would add the functionality required to fix these problems (in a pre-processing stage): #21

from gumtree.

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.