summaryrefslogtreecommitdiff
path: root/README.md
blob: 403d745998a1a9e5a74782b096b0045b0eb7aaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Learning from post-edits
Post-editing interface for learning from post-edited machine translations.

# Setup
## nanomsg lib
    export LD_LIBRARY_PATH=/fast_scratch/simianer/lfpe/lib/nanomsg-0.5-beta/lib

## ruby
    [see $(pwd)/lib/ruby/gems/nanomsg-0.4.0/ext/extconf.rb]
    gem install nanomsg -i $(pwd)/lib/ruby
    export GEM_PATH=/fast_scratch/simianer/lfpe/lib/ruby/:$GEM_PATH

## iptables
    iptables -A INPUT -i eth0 -p tcp -m multiport --dports 50000:50100 -j ACCEPT

## apache
    ln -s /etc/apache2/sites-available/lfpe /etc/apache2/sites-enabled/020-lfpe

## python
    export PYTHONPATH=/fast_scratch/simianer/lfpe/lib/python:$PYTHONPATH