VIEW (Visual Input Enhancement of the Web):
Instant colourization of grammar structures, instant learning activities from any page on the web. Supported languages: English, German, Spanish.
VIEW (Visual Input Enhancement of the Web):
Instant colourization of grammar structures, instant learning activities from any page on the web. Supported languages: English, German, Spanish.
Tested on: Xubuntu 12.04 LTS (64-bit), using default python interpreter (v2.7.3)
[Last update: 04/03/2014]
sudo apt-get install python-tk
mkdir TextSTAT
cd TextSTAT
wget http://neon.niederlandistik.fu-berlin.de/static/textstat/TextSTAT-2.9c-source.zip
unzip TextSTAT-2.9c-source.zip
chmod +x TextSTAT.pyw
./TextSTAT.pyw
TextSTAT.desktop
on your Desktop, don’t forget to adapt the full path to TextSTAT.pyw
and textstat_logo.gif
):wget http://neon.niederlandistik.fu-berlin.de/static/textstat/textstat_logo.gif
[Desktop Entry] Version=1.0 Type=Application Name=TextSTAT 2.9c Comment=Concordancing Program written in Python Exec=/path/to/TextSTAT/TextSTAT.pyw Icon=/path/to/TextSTAT/textstat_logo.gif
[Last update: 04/01/2015]
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
cd ~/venv/apy3341 source bin/activate
pip
to install the latest version of nltk
:(apy3341):~$ pip install -U nltk
setuptools
versions >=10
(see NLTK Issue #824):(apy3341):~$ pip install setuptools==9.1 (apy3341):~$ pip install -U nltk
(apy3341) mki@ubuntu:~$ python ActivePython 3.3.4.1 (ActiveState Software Inc.) based on Python 3.3.4 (default, Feb 25 2014, 14:59:15) [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import nltk >>> nltk.download()
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]
cd ~/venv/apy3341 source bin/activate
bin/pip install -U sphinx
bin/pip install -U numpy
bin/pip install -U imapclient
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]
cd ~/venv/apy3341 source bin/activate
sudo apt-get install libxml2-dev libxslt1-dev zlib1g zlib1g-dev
bin/pip install -U lxml
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]
cd ~/venv/apy3341 source bin/activate
bin/pip install -U ipython
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]
cd ~/venv/apy3341 source bin/activate
sudo apt-get install libncurses5-dev
bin/pip install -U readline
[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
cd ~/venv/apy3341 source bin/activate
curl https://bootstrap.pypa.io/get-pip.py > bin/get-pip.py
bin/python bin/get-pip.py
[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
Use ActivePython’s pre-configured pyvenv.py script to generate a virtual environment.
cd /opt/ActivePython-3.3.4.1/bin/ ./pyvenv ~/venv/apy3341
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:~$
(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. >>>
(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. >>>
[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