scmorrison / humantranslated

Japanese Content and Language Integrated Learning (CLIL) system.
Other
0 stars 1 forks source link

HumanTranslated

Join the chat at https://gitter.im/scmorrison/humantranslated Build Status

Content and Language Integrated Learning (CLIL) system.

Requirements

Getting started

This is very basic at the moment. Currently it is a simple REST API with flimsy Oauth2 integration.

To get started follow the steps below to install the npm modules and import the dummy data. To access the data from the browser open

  1. Clone the repo:

git clone git@github.com:scmorrison/humantranslated-meteor.git
  1. Install node modules:

    cd humantranslated-meteor
    meteor
  2. Install MeCab

    sudo apt-get install mecab

Note: On Debian you might have to create a symlink for libmecab.so:

sudo ln -s /usr/lib/libmecab.so.2 /usr/lib/libmecab.so

Installing Mecab on OSX

Installing Homebrew

The first step is to make sure that you have Homebrew installed. Open the Terminal.app application and copy and paste the following:

brew -v

If you have not installed Homebrew yet, all you need to do is run the following command:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Installing Mecab

Next, let's install Mecab with our new package manager.

brew install mecab

We must also install another package mecab-ipadic:

brew install mecab-ipadic

Installing Mecab-ipadic via source

If the steps above do not work, you will have to install Mecab from source. You can create a directory in your $HOME directory by using the mkdir command:

mkdir src/

Then CD into the folder and use

wget https://mecab.googlecode.com/files/mecab-ipadic-2.7.0-20070801.tar.gz

Note: If you don't have wget installed, then you will need to use the following command:

brew install wget

Use the tar command to decompress the folder:

tar xzvf  mecab-ipadic-2.7.0-20070801.tar.gz

A new folder will appear. The last step is to cd back into the Humantranslated direcory and copy the script into your $PATH.

cp scripts/mecab-config /usr/bin/local

You should now be able to use the mecab command:

mecab

TODO

License

GPLv2

Author Information

Sam Morrison @scmorrison

Kevin O'Neil @oneilkevin

Shinsuke Miyamoto @jonasuke

Sugiyama-san @sugiyama-v