chore: initialize baseline hyperdope-gematria target files on master
This commit is contained in:
commit
79b4503d6c
4 files changed
+92
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Upstream-compatible tools/classify_candidates.py with [Ingglish: ...] recognition."""
|
||||
import re
|
||||
|
||||
|
||||
def classify(line: str) -> dict:
|
||||
s = line.strip()
|
||||
if "[Ingglish:" in s and "]" in s:
|
||||
return {"classification": "ingglish-curated", "keep": True, "reason": "curated Ingglish phonetic entry with English gloss"}
|
||||
return {"classification": "standard", "keep": True, "reason": "standard entry"}
|
||||
Reference in new issue
Block a user