summaryrefslogtreecommitdiff
path: root/README.md
blob: a3d4e96dc650b02e833531a509215e046efbbb8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Learning from post-edits
Post-editing interface for learning from post-edited machine translations.

# Setup

`
    export BASE_DIR=/srv/postedit
`

## nanomsg lib
`
    export LD_LIBRARY_PATH=$BASE_DIR/lib/nanomsg-0.5-beta/lib
`

## ruby
`
    [see $BASE_DIR/lib/ruby/gems/nanomsg-0.4.0/ext/extconf.rb]
    gem install nanomsg -i $BSAE_DIR/lib/ruby
    export GEM_PATH=$BASE_DIR/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=$BASE_DIR/lib/python:$PYTHONPATH
`