From c251703428cbebea460e6787710dd3d1412caccc Mon Sep 17 00:00:00 2001 From: Shuvanon Razik Date: Fri, 10 Mar 2017 10:45:01 +0600 Subject: [PATCH] Update abbreviations --- spacy/bn/tokenizer_exceptions.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/spacy/bn/tokenizer_exceptions.py b/spacy/bn/tokenizer_exceptions.py index ac8a95b3f..b47c89add 100644 --- a/spacy/bn/tokenizer_exceptions.py +++ b/spacy/bn/tokenizer_exceptions.py @@ -27,14 +27,18 @@ ABBREVIATIONS = { "সে.": [ {ORTH: "সে.", LEMMA: "সেলসিয়াস"}, ], - "কি.মি": [ - {ORTH: "কি.মি", LEMMA: "কিলোমিটার"}, + "কি.মি.": [ {ORTH: "কি.মি.", LEMMA: "কিলোমিটার"}, ], - "সে.মি": [ - {ORTH: "সে.মি", LEMMA: "সেন্টিমিটার"}, + "কি.মি": [ + {ORTH: "কি.মি", LEMMA: "কিলোমিটার"}, + ] + "সে.মি.": [ {ORTH: "সে.মি.", LEMMA: "সেন্টিমিটার"}, ], + "সে.মি": [ + {ORTH: "সে.মি", LEMMA: "সেন্টিমিটার"}, + ], "মি.লি.": [ {ORTH: "মি.লি.", LEMMA: "মিলিলিটার"}, ]