Spaces:
Running
Running
File size: 598 Bytes
852d295 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | """Hebrew Codenames board deck — 573 single-word nouns.
Source: the `yaeldau/code-names` Hebrew Codenames implementation
(src/words/hebrew.json). These are the *board* words; clues are drawn from a
separate large frequency vocabulary (see probe.load_clue_vocab), per the
standard Codenames-AI setup (Koyyalagunta et al. 2021).
"""
import json
import os
from . import DATA_DIR
_p = os.path.join(DATA_DIR, "yaeldau_hebrew.json")
with open(_p, encoding="utf-8") as f:
_raw = json.load(f)
_seen = set()
DECK = [w for w in (x.strip() for x in _raw) if w and not (w in _seen or _seen.add(w))]
|