Support subword and word language models
Compare changes
- Solene Tarride authored
+ 6
− 2
@@ -22,7 +22,7 @@ class Token(NamedTuple):
@@ -139,7 +139,9 @@ def parse_tokens(filename: str) -> Dict[str, EntityType]:
@@ -152,6 +154,8 @@ def read_yaml(yaml_path: str) -> Dict: