From 7fd929c644eb2dc34d80af765cab3787962d7e75 Mon Sep 17 00:00:00 2001 From: Steven Stockhamer Date: Thu, 9 Jun 2022 16:43:16 -0400 Subject: [PATCH] Update en.py recommend "abt" as short for "about" also counting for "is_approximate --- edtf/natlang/en.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edtf/natlang/en.py b/edtf/natlang/en.py index ec7842b..5e16606 100644 --- a/edtf/natlang/en.py +++ b/edtf/natlang/en.py @@ -133,7 +133,7 @@ def text_to_edtf_date(text): is_approximate = is_approximate or re.findall(r'\bcirca\b', t) # the word 'approx'/'around'/'about' anywhere is_approximate = is_approximate or \ - re.findall(r'\b(approx|around|about)', t) + re.findall(r'\b(approx|around|about|abt)', t) # a ~ before a year-ish number is_approximate = is_approximate or re.findall(r'\b~\d{4}', t) # a ~ at the beginning