fix: added preposition
This commit is contained in:
2
run.py
2
run.py
@@ -50,7 +50,7 @@ def read_markdown_file(file_path: str, filename: str) -> tuple[str, str, str] |
|
|||||||
filtered_lines = []
|
filtered_lines = []
|
||||||
for line in definitions.split("\n"):
|
for line in definitions.split("\n"):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if line.startswith(("n.", "adj.", "adv.", "v.")):
|
if line.startswith(("n.", "adj.", "adv.", "v.", "prep.")):
|
||||||
filtered_lines.append(line)
|
filtered_lines.append(line)
|
||||||
|
|
||||||
definitions = "\n".join(filtered_lines)
|
definitions = "\n".join(filtered_lines)
|
||||||
|
|||||||
Reference in New Issue
Block a user