Giter Site home page Giter Site logo

umbc_sts's Introduction

UMBC_STS

UMBC_STS is used for computing text semantic similarity. Necessary setting is given below.

Step 1: Setting the class path to the folder where source packages are stored in the computer

Example command for exporting ClassPath:

export CLASSPATH=$CLASSPATH:/Users/Mahbub/Desktop/GitHub/UMBC_STS/src/:/Users/Mahbub/Desktop/GitHub/UMBC_STS/lib/ 

Step 2: Writing the config file. This file has two lines. Each of which are the locations of models and testbeds. First line is the path in your computer where model folder is located and second line is the path in your computer where testbed folder is located. Model and testbed folders contain model files and testbed files respectively. They can be in same folder or in different folders.

Example

/Users/Mahbub/Desktop/Research/Data /Users/Mahbub/Desktop/Research/Data

Step 3: Compiling the code with encoding

Command to compile:

javac -O -encoding UTF8 -d .  *.java

Step 4: Running some sample code

Command to run sample code:

java -cp . edu.umbc.dbpedia.model.STS_Example

If you get heap size exception then increase heap memory using -Xmx flag. Sample command with flag for heap memory is

java -Xmx2g -cp . edu.umbc.dbpedia.model.STS_Example

โ€”- The End โ€”-

umbc_sts's People

Contributors

mahbuburrahman avatar

Watchers

 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.