files input as argv

This commit is contained in:
Ozbolt Menegatti 2019-01-08 21:13:36 +01:00
parent 36d4a217f7
commit aeb2770966

View File

@ -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",