author Adrien Di Mascio <>
Tue, 28 Nov 2017 18:15:10 +0100
changeset 518 18c42a345591
parent 383 33aaa7c273c1
permissions -rw-r--r--
[aligner] safety belt to avoid crash on empty sets There are several parts in the code that assume that at least refset is not empty (e.g. log_infos() to compute the alignment progress)

# -*- coding: utf-8 -*-
""" Data for Nazca
import os.path as osp

HERE = osp.join(osp.abspath(osp.dirname(__file__)))
FRENCH_LEMMAS = dict([t.strip().split('\t') for t in open(osp.join(HERE, 'french_lemmas.txt'))])