toor.GateLink.GateToTor package#
Submodules#
toor.GateLink.GateToTor.GateToTor module#
toor.GateLink.GateToTor.MacParser module#
- class toor.GateLink.GateToTor.MacParser.GATEMacParser(file_path)[source]#
Bases:
object
A class to parse and manipulate GATE macro files.
- get_fields(keyword)[source]#
Retrieve all lines containing a specific keyword. :type keyword: :param keyword: The keyword to search for in the file. :type keyword: str
- Returns:
A list of lines containing the keyword.
- Return type: