Coder Social home page Coder Social logo

sheng-fu / transphoner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from msavva/transphoner

0.0 1.0 0.0 19.74 MB

TransPhoner: Automated Mnemonic Keyword Generation

License: Other

Scala 75.91% Java 21.83% Perl 1.65% JavaScript 0.26% CSS 0.36%

transphoner's Introduction

TransPhoner

This repository contains the code for the CHI2014 paper: "TransPhoner: Automated Mnemonic Keyword Generation". The core library is implemented in Scala while a Play framework web app is used as a front end for demonstrating some simple applications. Running the web server should be fairly simple once the below prerequisites are in place:

Prerequisites

  1. Scala 2.10.3 (http://www.scala-lang.org/downloads)
  2. Play 2.2.2 (http://www.playframework.com/)
  3. Make sure the Play and JDK paths are added to the system path

Running the webserver

To run server (on default port 9000):

   cd $TRANSPHONER
   play
   extractData
   run

Then direct your browser to http://localhost:9000 to check the server is running. Note that compilation might take a few seconds on the first access. To clean the state of the project run play clean at the root directory and to debug run play debug.

Development

We used IntelliJ IDEA for development so the below instructions pertain to generating a development project for that particular IDE. Other IDEs can be targeted by the Play framework in a similar manner.

  1. Create idea project (see http://www.playframework.com/documentation/2.0.x/IDE)
  cd $TRANSPHONER
  play
  idea
  1. Open project with IntelliJ IDEA

  2. Debugging

  • Open Run/Debug Configurations dialog, then click Run -> Edit Configurations
    • Add a Remote configuration, then select Remote
    • Configure it:
      • Set a name
      • Transport: Socket
      • Debugger mode: Attach
      • Host: localhost
      • Port: 9999
    • Select module you imported
    • Close dialog - click Apply

Problems?

  • Got sbt.ResolveException: download failed: [NOT FOUND ] org.slf4j#slf4j-api;1.6.6!slf4j-api.jar? Check plugins.sbt and make sure the Play version there matches your installed Play version in the line of the form: addSbtPlugin("play" % "sbt-plugin" % "2.1.3")

License

This code is distributed under the terms of the GNU GPLv3 license.

Copyright (C) 2014 Angel X. Chang and Manolis Savva

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

transphoner's People

Contributors

angelxuanchang avatar msavva avatar

Watchers

 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.