From 2b8da847177e9b0b47bce6f0f6633f5661bf0b74 Mon Sep 17 00:00:00 2001 From: Ridge Kimani <101694484+ridge-kimani@users.noreply.github.com> Date: Wed, 8 Nov 2023 19:29:11 +0300 Subject: [PATCH] feat: add extra lexical attributes (#13106) Co-authored-by: Ridge Kimani --- spacy/lang/en/lex_attrs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spacy/lang/en/lex_attrs.py b/spacy/lang/en/lex_attrs.py index ab9353919..7f9dce948 100644 --- a/spacy/lang/en/lex_attrs.py +++ b/spacy/lang/en/lex_attrs.py @@ -6,7 +6,8 @@ _num_words = [ "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety", "hundred", "thousand", - "million", "billion", "trillion", "quadrillion", "gajillion", "bazillion" + "million", "billion", "trillion", "quadrillion", "quintillion", "sextillion", + "septillion", "octillion", "nonillion", "decillion", "gajillion", "bazillion" ] _ordinal_words = [ "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", @@ -14,7 +15,8 @@ _ordinal_words = [ "fifteenth", "sixteenth", "seventeenth", "eighteenth", "nineteenth", "twentieth", "thirtieth", "fortieth", "fiftieth", "sixtieth", "seventieth", "eightieth", "ninetieth", "hundredth", "thousandth", "millionth", "billionth", - "trillionth", "quadrillionth", "gajillionth", "bazillionth" + "trillionth", "quadrillionth", "quintillionth", "sextillionth", "septillionth", + "octillionth", "nonillionth", "decillionth", "gajillionth", "bazillionth" ] # fmt: on