Author Archives: Markus Killer

Installing ipython in virtual environment on Linux

Prerequisites: Install Python and set up virtual environment  & Install pip in virtual environment
Tested on: Xubuntu 12.04 LTS / 13.10 / 14.04 LTS (64-bit) with ActivePython installed in /opt

[Last update: 03/07/2014]

  • (skip, if activated) Activate the virtual environment you would like to install ipython in:
  1. cd ~/venv/apy3341
    source bin/activate
  • Make sure that readline support is installed in your virtual environment (prerequisite for ipython’s colour prompts).
  • Use pip to install/update readline:
  1. bin/pip install -U ipython

Installing readline support in ActivePython virtual environment on Linux

Prerequisites: Install Python and set up virtual environment  & Install pip in virtual environment
Tested on: Xubuntu 12.04 LTS / 13.10 / 14.04 LTS (64-bit) with ActivePython installed in /opt

[Last update: 03/07/2014]

  • (skip, if activated) Activate the virtual environment you would like to install readline in:
  1. cd ~/venv/apy3341
    source bin/activate
  • Install/check for readline dependencies (for pip to be able to compile readline from source code):
  1. sudo apt-get install libncurses5-dev
  • Use pip to install/update readline:
  1. bin/pip install -U readline

Installing pip in virtual environment

[Last update: 03/07/2014]

Prerequisites: Install Python and set up virtual environment
Tested on: Xubuntu 12.04 LTS / 14.04 LTS (64-bit) with ActivePython installed in /opt

  • (skip, if activated) Activate the virtual environment you would like to install pip in:
  1. cd ~/venv/apy3341
    source bin/activate
  • Download “get-pip.py“:
  1. curl https://bootstrap.pypa.io/get-pip.py > bin/get-pip.py
  • Download and install pip (the latest version of setuptools will be installed automatically):
  1.  bin/python bin/get-pip.py

Setting up Python developing environment on Xubuntu 12.04 LTS / 14.04 LTS

Installing ActivePython

[Last update: 03/07/2014]

My favourite cross-platform binary distribution is ActivePython. Check download area for latest release and adapt version number and platform accordingly.

[Note: If you mainly use Unix-based systems, setting up different Python versions and virtual environments using pyenv might be even more convenient than ActivePython.]

On Ubuntu/Xubuntu 64-bit (12.04 LTS / 14.04 LTS), I use the following commands and install ActivePython in the location /opt/ActivePython-X.X.X.X:

cd /tmp
wget http://downloads.activestate.com/ActivePython/releases/3.3.4.1/ActivePython-3.3.4.1-linux-x86_64.tar.gz
tar -xvf ActivePython-3.3.4.1-linux-x86_64.tar.gz
cd ActivePython-3.3.4.1-linux-x86_64
sudo ./install.sh

Setting up virtual environment

Use ActivePython’s pre-configured pyvenv.py script to generate a virtual environment.

cd /opt/ActivePython-3.3.4.1/bin/
./pyvenv ~/venv/apy3341

Activating virtual environment

cd ~/venv/apy3341
source bin/activate

The name of the activated virtual environment is shown in brackets at the beginning of the commandline prompt:

(apy3341) mki@ubuntu:~$

Using python in the virual environment

(apy3341) mki@ubuntu:~$ python
ActivePython 3.3.4.1 (ActiveState Software Inc.) based on
Python 3.3.4 (default, Sep 16 2013, 23:12:56) 
[GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Deactivating virtual environment

(apy3341) mki@ubuntu:~$ deactivate

commandline prompt returns back to normal and system-wide python binaries are used (here Xubuntu 12.04 LTS):

mki@ubuntu:~$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

LF Aligner

LF Aligner

2023-07-29 Developer / Project Head: Andreas Farkas
Purpose/Version/Date Graphical interface to hunalign & alignment editor 4.25 (stable) / 4.26 (dev) 7 May 2023 / 29 July 2023 Platform/License Win/Linux/OSX open source License: GNU GPLv3+ Price/Availability free Programming Language(s): Perl Key features: EDIT AND CORRECT AUTOMATIC SENTENCE ALIGNMENTS Website: LF Aligner project page
Return to top.

Related posts on langui.ch

Uplug

OPUS multilingual search interface (uplug-cwb)

2019-12-16 Developer / Project Head: Jörg Tiedemann
Purpose/Version/Date scripts for indexing and querying parallel corpora with CWB 3.10 2019-12-16 Platform/License Linux/OSX open source License: GNU GPLv3+ Price/Availability free Programming Language(s): Perl Key features: CWB, CORPUS INDEXING, PARALLEL CORPUS QUERYING Website: OPUS project page Website: Uplug Repository
Return to top.

Uplug

2019-12-16 Developer / Project Head: Jörg Tiedemann
Purpose/Version/Date NLP tools for processing (parallel) corpora stable: 0.3.10 16 Dec 2019 Platform/License Linux/OSX open source License: GNU GPLv3+ Price/Availability free Programming Language(s): Perl Key features: COMPLETE (PARALLEL) CORPUS CREATION PIPELINE Website: Uplug Repository Website: OPUS project page
Return to top.

Related posts on langui.ch

CWB

CQPweb

2023-07-23 Developer / Project Head: Andrew Hardie
Purpose/Version/Date web interface to cwb stable: 3.2.43 dev: 3.3.15 [r1848] 31 Dec 2021 / 23 July 2023 Platform/License web-based (also on localhost) open source License: GNU GPLv2+ Price/Availability free Programming Language(s): php, mysql, Perl Key features: SERVER INSTALLATION, MANAGE YOUR OWN CORPORA, WEB INTERFACE, CQP QUERIES Website: CQPweb project page Website: CQPWeb SVN Repository Website: UCREL Lancaster Corpus Server (free access to a lot of corpus resources after registration, including the extended Brown-family of corpora) Website: CQPweb at Beijing Foreign Studies University – Large Number of publicly accessible corpora (username: test, password: test) Website: CQPweb Video Tutorials Website: CQPwebInABox Video Tutorials
Return to top.

OPUS multilingual search interface (uplug-cwb)

2019-12-16 Developer / Project Head: Jörg Tiedemann
Purpose/Version/Date scripts for indexing and querying parallel corpora with CWB 3.10 2019-12-16 Platform/License Linux/OSX open source License: GNU GPLv3+ Price/Availability free Programming Language(s): Perl Key features: CWB, CORPUS INDEXING, PARALLEL CORPUS QUERYING Website: OPUS project page Website: Uplug Repository
Return to top.

ParaVoz

2015-05-21 Developer / Project Head: Ruprecht von Waldenfels
Purpose/Version/Date Simple web interface for querying (cwb-indexed) parallel corpora. git-commit: e985236 21 May 2015 Platform/License Linux/OSX open source License: GNU GPLv2+ Price/Availability free Programming Language(s): PHP, XSLT Key features: ONLINE PARALLEL CONCORDANCER, CQP-QUERY SUPPORT, OPTIMIZED FOR MULTILINGUAL CONCORDANCES IN 3+ LANGUAGES Website: http://parasolcorpus.org (v1) Website: Bitbucket Repository (v1) Website: Short Demo Clip (v1)
Return to top.

The IMS Open Corpus Workbench (CWB)

2023-03-17 Developer / Project Head: Stephanie Evert
Purpose/Version/Date Open-source corpus query system stable: 3.5.2 dev: 3.5 [r1840] 24 July 2022 / 17 Mar 2023 Platform/License Win (from v3.1)/Linux/OSX open source License: GNU GPLv2+ Price/Availability free Programming Language(s): C++, Perl Key features: CORPUS MANAGEMENT, POWERFUL QUERY LANGUAGE Website: CWB Project Home
Return to top.

Related posts on langui.ch

t2t-pipe

t2t-pipe

2013-12-10 Developer / Project Head: Markus Killer
Purpose/Version/Date automatic alignment pipeline for parallel treebanks source: 1.4 10 Dec 2013 Platform/License Linux open source License: GNU GPLv2+ Price/Availability free Programming Language(s): Python Key features: AUTOMATIC ALIGNMENT PIPELINE, WRAPPERS FOR HUNALIGN, ZHECHEV TREEALIGNER, EXPORT TO TIGERXML AND TMX Website: t2t-pipe Repository Website: 4-minute Screencast Website: Introduced in Killer, M; Sennrich, R; Volk, M (2011)
Return to top.

t2t-pipe web interface

2013-08-31 Developer / Project Head: Matthias Fluor
Purpose/Version/Date web interface to t2t-pipe unversioned Aug 2013 Platform/License Linux contact webmaster(at)langui.ch for source code License: not specified Price/Availability free Programming Language(s): php Key features: QUICK TREEBANK GENERATION FROM TWO PARALLEL TEXT FILES Website: t2t-pipe web interface (created by Matthias Fluor and Michael Amsler) Website: CLab Lerneinheit (in German, created by Matthias Fluor)
Return to top.

Related posts on langui.ch

t2t-pipe project page

AntConc dependencies on Ubuntu/Xubuntu 64-bit

[Last update: 17/03/2014]

If you try to launch AntConc on an Ubuntu-based 64-bit system, you get the following error message (tested with versions 3.2.4u, 3.3.5u, 3.4.0u and 3.4.1u):

./antconc3.2.4u: No such file or directory
or 
./AntConc: No such file or directory

The minimal dependencies I had to install in order for AntConc to start successfully on Ubuntu 64-bit were the following libraries (tested on Ubuntu 13.10 and Xubuntu 12.04 LTS):

sudo apt-get install libx11-6:i386 libxss1:i386 libxft2:i386

For TurnKey/Debian systems, see this post, for other Linux distributions see ongoing discussion on: https://groups.google.com/forum/#!forum/antconc