From 9c9f4ef84a22afccc0d78ffc4b83c2caf61b9fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20FalkJ=C3=B8rgensen?= Date: Tue, 19 Dec 2017 15:26:50 +0100 Subject: [PATCH] Fixing a translation error in examples.py Adding an exception in the tokenizer_exceptions.py --- spacy/lang/da/examples.py | 2 +- spacy/lang/da/tokenizer_exceptions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/lang/da/examples.py b/spacy/lang/da/examples.py index c98fc251e..097c21bed 100644 --- a/spacy/lang/da/examples.py +++ b/spacy/lang/da/examples.py @@ -13,6 +13,6 @@ Example sentences to test spaCy and its language models. sentences = [ "Apple overvejer at købe et britisk startup for 1 milliard dollar", "Selvkørende biler flytter forsikringsansvaret over på producenterne", - "San Francisco overvejer at forbyde leverandørrobotter på fortov", + "San Francisco overvejer at forbyde udbringningsrobotter på fortov", "London er en stor by i Storbritannien" ] diff --git a/spacy/lang/da/tokenizer_exceptions.py b/spacy/lang/da/tokenizer_exceptions.py index 584ccf6f9..1cef49bc0 100644 --- a/spacy/lang/da/tokenizer_exceptions.py +++ b/spacy/lang/da/tokenizer_exceptions.py @@ -87,7 +87,7 @@ for orth in [ "lic.", "lign.", "lin.", "ling.merc.", "litt.", "Ll.", "loc.cit.", "lok.", "lrs.", "ltr.", "m/s", "M/S", "m.a.o.", "m.fl.", "m.m.", "m.v.", "m.v.h.", "Mag.", "maks.", "md.", "mdr.", "mdtl.", "mezz.", "mfl.", - "m.h.p.", "m.h.t", "mht.", "mik.", "min.", "mio.", "modt.", "Mr.", + "m.h.p.", "m.h.t", "m.h.t.", "mht.", "mik.", "min.", "mio.", "modt.", "Mr.", "mrk.", "mul.", "mv.", "n.br.", "n.f.", "nat.", "nb.", "Ndr.", "nedenst.", "nl.", "nr.", "Nr.", "nto.", "nuv.", "o/m", "o.a.", "o.fl.", "o.h.", "o.l.", "o.lign.", "o.m.a.", "o.s.fr.", "obl.", "obs.",