Datasets:
Tasks:
Translation
File size: 1,428 Bytes
dd8503f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
.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
|