Giter Club home page Giter Club logo

expansionist's Introduction

Expansionist

Expansionist takes a program identifier such as a function or variable name, and converts it into a short meaningful phrase comprised of expanded versions of the individual tokens in the identifier. The result can be more meaningful inputs for use in machine learning and other activities.

Authors: Michael Hucka
Repository: https://github.com/casics/expansionist
License: Unless otherwise noted, this content is licensed under the GPLv3 license.

Introduction

Natural language processing (NLP) methods are increasingly being used for source code analysis. The methods rely on terms (identifiers and other textual strings) extracted from program source code. The methods often work better if, instead of cryptic identifiers such as readf, real words and expressions such as [read, file] are used. This leads to the need for automated methods for splitting and expanding identifiers of classes, functions, variables, and other entities into word-like constituents.

Expansionist is a program that can take an identifier and expand it into a short phrase based on contextual information. The context can be, e.g., text extracted from comments, strings, and file headers of source code files where the tokens are found.

⁇ Getting help and support

If you find an issue, please submit it in the GitHub issue tracker for this repository.

♬ Contributing — info for developers

A lot remains to be done on CASICS in many areas. We would be happy to receive your help and participation if you are interested. Please feel free to contact the developers either via GitHub or the mailing list [email protected].

Everyone is asked to read and respect the code of conduct when participating in this project.

❤️ Acknowledgments

This material is based upon work supported by the National Science Foundation under Grant Number 1533792 (Principal Investigator: Michael Hucka). Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

The icon for Expansionist is "world" by Dinosoft Labs – icon #1491944 in the Noun Project. It is used under the terms of a Creative Commons license.


             

expansionist's People

Contributors

mhucka avatar

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.