Skip to content

Commit 843bc66

Browse files
committed
ERG file bugfix
1 parent 73e517e commit 843bc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydmrs/pydelphin_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
DEFAULT_CONFIG_FILE = 'default_interface.conf'
88

99
config = load_config(DEFAULT_CONFIG_FILE)
10-
DEFAULT_ERG_FILE = config.get(config, 'Grammar', 'ERG')
10+
DEFAULT_ERG_FILE = get_config_option(config, 'Grammar', 'ERG')
1111

1212

1313
def parse(sentence, cls=ListDmrs, erg_file=DEFAULT_ERG_FILE):

0 commit comments

Comments
 (0)