Spring 2019/Using the tools on your own system

From LING073
Jump to: navigation, search

There are two ways to use many of the tools we use in class on another system. The easiest is to set up a copy of the virtual machine we run. You may also install the tools on your own system. The instructions for both approaches follow.

Installing the VM

If you want to use a copy of the VM we use in class, you can grab a copy hosted by SCCS (Debian.ovaWARNING: 2.5GB file!). Just install VirtualBox on your system and import that file.

Installing the tools

If you're running linux, Mac OS X, or Windows 10, you should be able to use the tools in the course on your own system.


See the Installation page on Apertium's wiki.


Install from github as described on Apertium's wiki: Apertium quality installation.


Follow these instructions.

Misc tools

Clone git@github.swarthmore.edu:Ling073-sp18/tools.git and run sudo make.

ibus-m17n (for keyboard layouts)

If you want to test your keyboard layout, install ibus-m17n on your linux system.

Apertium installation on Mac using brew

Install homebrew

Homebrew is a package manager for Mac. To install it, run the following:

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

This will take several minutes.

Note that you'll probably need the XCode developer tools from Apple to install homebrew. If you don't have them installed, Homebrew may direct you to install them—perhaps automatically—but it may not.

Install dependencies from homebrew

$ brew install gawk subversion autoconf automake pkgconfig wget python3

This will take a couple minutes. You'll also want yaml if you install apertium-quality.

$ pip3 install PyYAML

Install apertium core tools and HFST

$ wget https://apertium.projectjj.com/osx/install-nightly.sh -O - | bash

This will take a minute.