Spaces:
Running
Running
Update src/postproc/postprocess.py
Browse files
src/postproc/postprocess.py
CHANGED
|
@@ -284,7 +284,7 @@ def posprocFix():
|
|
| 284 |
for tk in b[4]:
|
| 285 |
# level down contracted tokens info, but ID and FORM
|
| 286 |
if ("-" in tk[0]):
|
| 287 |
-
tk[2], tk[3], tk[4], tk[5], tk[6], tk[7], tk[8], tk[9] = "
|
| 288 |
continue
|
| 289 |
# fix out of lexikon tokens
|
| 290 |
if (tk[3] in lexOutOfTags):
|
|
|
|
| 284 |
for tk in b[4]:
|
| 285 |
# level down contracted tokens info, but ID and FORM
|
| 286 |
if ("-" in tk[0]):
|
| 287 |
+
tk[2], tk[3], tk[4], tk[5], tk[6], tk[7], tk[8], tk[9] = "_", "_", "_", "_", "_", "_", "_", "_"
|
| 288 |
continue
|
| 289 |
# fix out of lexikon tokens
|
| 290 |
if (tk[3] in lexOutOfTags):
|