Git Product home page Git Product logo

cscc-recommender's Introduction

cscc-recommender Build Status Coverage Status

Recommender system for code completion. The algorithm is based on CSCC: Simple, Efficient, Context Sensitive Code Completion by Asaduzzaman, Muhammad, et al.

Include in your project

Maven configuration

Add this to the dependencyManagement section of your pom.xml:

<repositories>
  <repository>
    <id>tstrass-cscc-recommender</id>
    <url>https://packagecloud.io/tstrass/cscc-recommender/maven2</url>
    <releases>
      <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

Add this to your dependencies in your pom.xml:

<dependency>
  <groupId>ch.uzh.ifi.seal.ase</groupId>
  <artifactId>cscc</artifactId>
  <version>1.0.1</version>
</dependency>

Gradle configuration

Add this entry anywhere in your build.gradle file:

repositories {
    maven {
        url "https://packagecloud.io/tstrass/cscc-recommender/maven2"
    }
}

Add this to your dependencies in your build.gradle file:

compile 'ch.uzh.ifi.seal.ase:cscc:1.0.1'

Getting started

  1. Download KaVE data set from www.kave.cc/datasets, unzip, and put them in Data/Events and Data/Contexts.
  2. Download our pre-trained model from the release page and unpack it (tar -xf cscc-model_z1008_s6_c170503.tar.lmza) to Data/Model, or train your own.
  3. (optional) Adjust parameters in ch.uzh.ifi.seal.ase.cscc.utils.CSCCConfiguration.
  4. See ch.uzh.ifi.seal.ase.cscc.RunMe for sample code on how to get code completions and train your own model.
  5. Check the wiki for more information.

License

This project is licensed under the Apache License 2.0.

cscc-recommender's People

Contributors

akandi avatar chrisly-bear avatar

Watchers

 avatar  avatar  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.