Skip to content

Instantly share code, notes, and snippets.

@mnvx
mnvx / prepare-russian-malt.sh
Last active July 14, 2016 15:29 — forked from versusvoid/prepare-russian-malt.sh
Download, extract and set up all things necessary to parse russian with malt and Serge Sharoff model (corpus.leeds.ac.uk/mocky/)
#!/bin/bash
PREFIX=$(readlink -m $(dirname $0))
if [[ ! $(command -v wget) && ! $(command -v curl) ]]; then
echo "You need either 'wget' or 'curl' programm to download necessary files"
exit 1
fi
if [[ ! $(command -v perl) ]]; then
echo "You'll need some perl. Consider installing it."