files input as argv
This commit is contained in:
parent
36d4a217f7
commit
aeb2770966
5
wani.py
5
wani.py
|
@ -2,12 +2,13 @@ from xml.etree import ElementTree
|
||||||
import re
|
import re
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
import sys
|
||||||
|
|
||||||
from msd_translate import MSD_TRANSLATE
|
from msd_translate import MSD_TRANSLATE
|
||||||
|
|
||||||
|
|
||||||
STRUKTURE = "Kolokacije_strukture_09_new-system.xml"
|
STAVKI = sys.argv[1]
|
||||||
STAVKI = "k2.xml"
|
STRUKTURE = sys.argv[2] # "Kolokacije_strukture_09_new-system.xml"
|
||||||
|
|
||||||
CODES = {
|
CODES = {
|
||||||
"Noun": "N",
|
"Noun": "N",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user