src.dackar.text_processing.Abbreviation¶
Created on March, 2024
@author: wangc, mandd
Attributes¶
Classes¶
Class to handle abbreviations |
Module Contents¶
- src.dackar.text_processing.Abbreviation.not_acronyms = ['was', 'for', 'by', 'me', 'our', 'is', 'he', 'she', 'they', 'him', 'his', 'her', 'them', 'my',...[source]¶
- class src.dackar.text_processing.Abbreviation.Abbreviation[source]¶
Bases:
object
Class to handle abbreviations
- abbreviationSub(text)[source]¶
Expands the abbreviations in text
- Parameters:
text – string, the text to expand
- Returns:
string, the text with abbreviations expanded
- Return type:
expandedText