UDer-1.1 / de-GCelex /Makefile
de-francophones's picture
Upload 98 files
dd8503f verified
.PHONY: harmonise
SHELL=/bin/bash
# Harmonisation scripts for unifying CELEX databases
# Copyright (C) 2020 Lukas Kyjanek (kyjanek at ufal.mff.cuni.cz)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# HOW TO USE
# 1. make universal-derivations
# clones scripts for harmonising CELEX databases
universal-derivations:
git clone https://github.com/lukyjanek/universal-derivations.git
# 2. copy CELEX databases (celex2.zip) in 'universal-derivations/@input-data/'
# 3. make harmonise
# harmonises CELEX database
# the harmonised version will be in 'universal-derivations/UDer-1.1/'
harmonise:
sudo cpan MLDBM
sudo cpan FreezeThaw
sudo cpan Sort::Key::Natural
cd universal-derivations/ && $(MAKE) UDer-resource version=1.1 language=de resource=GCelex