Coder Social home page Coder Social logo

Comments (4)

mxzf0213 avatar mxzf0213 commented on May 30, 2024

I think you need to convert the path_contexts.csv to the format like tuples(source,path,target,mask) in order to be used in the code2vec.

You can refer to preprocess.sh which I think will be helpful:)

from astminer.

egor-bogomolov avatar egor-bogomolov commented on May 30, 2024

Please, check out the "code2vec" option of the CLI, it may better suit your needs.

from astminer.

mightyuser avatar mightyuser commented on May 30, 2024

I did look at preprocess.sh, it is actually preprocess new dataset, extracting paths from the source code, etc., which is already done in our case, we are using trained model, preprocessed data already provided by code2vec and paths are already extracted by ASTMiner.

Now the question is how to used ASTMiner output directly in code2vec.

from astminer.

SpirinEgor avatar SpirinEgor commented on May 30, 2024

We completely refactor our pipeline and make it easier to add new languages. If you are still interested in adding COBOL support, navigate to documentation and see examples of existing parsers.

If you still have questions, don't hesitate to reopen this issue.

from astminer.

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.