Spaces:
Runtime error
Runtime error
Upload 11 files
Browse files- soprano/utils/text.py +1 -0
soprano/utils/text.py
CHANGED
|
@@ -56,6 +56,7 @@ _cased_abbreviations = [(re.compile('\\b%s\\b' % x[0]), x[1]) for x in [
|
|
| 56 |
('GPUs', 'g p u\'s'),
|
| 57 |
('GPU', 'g p u'),
|
| 58 |
('Ave', 'avenue'),
|
|
|
|
| 59 |
]]
|
| 60 |
|
| 61 |
def expand_abbreviations(text):
|
|
|
|
| 56 |
('GPUs', 'g p u\'s'),
|
| 57 |
('GPU', 'g p u'),
|
| 58 |
('Ave', 'avenue'),
|
| 59 |
+
('etc', 'etcetera'),
|
| 60 |
]]
|
| 61 |
|
| 62 |
def expand_abbreviations(text):
|