src.dackar.utils.opm.OPLparser¶
Created on May 3, 2021
@author: mandd
Classes¶
Functions¶
|
This method separates an OPM object if an acronym is defined |
This method returns only the OPM object if an acronym is defined |
Module Contents¶
- class src.dackar.utils.opm.OPLparser.OPMobject(filename)[source]¶
Bases:
object
- OPLentityParser()[source]¶
This method extracts all the form and function entities out of the OPL html file and it puts them in two separate lists:
self.objectList
self.processList
This process is performed by parsing the html file and identify color-coded entities.
- OPLtextParser()[source]¶
This method extracts all the sentences out of the OPL html file and it puts them in a list (self.sentences)