MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / parse

Method parse

KVCOMM/tools/reader/readers.py:128–133  ·  view source on GitHub ↗
(self, file_path: Path)

Source from the content-addressed store, hash-verified

126
127class LaTexReader(Reader):
128 def parse(self, file_path: Path) -> str:
129 logger.info(f"Reading LaTex file from {file_path}.")
130 with open(file_path, "r") as f:
131 data = f.read()
132 text = LatexNodes2Text().latex_to_text(data)
133 return text
134
135
136class AudioReader(Reader):

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected