brijmohan / ikdd-cods-2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Data Challenge: Differentiating Code-Borrowing from Code-Mixing (Team : IIIT-H)

Installation

This code works with Ubuntu 16.04 environment having Python 2 installed. Install pip and virualenv using following command.

sudo apt install python-pip virtualenv

The code requires pysrilm to be installed on host machine. Follow the instructions at this link link to install it.

Install this repo using following commands

git clone https://github.com/brijmohan/ikdd-cods-2017.git
cd ikdd-cods-2017/
bash install.sh

Running the ranker

cd bin
bash run.sh [path to input file] [path to output folder]

eg: bash run.sh ../input.txt output/

The intermediate files and output will be saved in output folder. Final ranks of each input word are saved in output/ranks.csv.

About


Languages

Language:Python 88.2%Language:Shell 11.8%