Migrate to gitea

This commit is contained in:
jonasgaudian
2026-02-13 00:10:40 +01:00
commit 6d06a9e14e
38 changed files with 31427 additions and 0 deletions

27
tests/test_umwehen.py Normal file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env python3
import json
import sys
import pathlib
# Add scripts to path
SCRIPT_DIR = pathlib.Path(__file__).parent
sys.path.insert(0, str(SCRIPT_DIR / "scripts"))
from InflectionProcessor import InflectionProcessor
# Load the sample
with open('samples/umwehen.json', 'r', encoding='utf-8') as f:
entry = json.load(f)
print("Original entry:")
print(json.dumps(entry, ensure_ascii=False, indent=2))
# Process
processor = InflectionProcessor()
processed = processor.process(entry)
print("\nProcessed entry:")
print(json.dumps(processed, ensure_ascii=False, indent=2))
print(f"\nStats: {processor.stats}")