Skip to content

Commit

Permalink
ERG file bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
guyemerson committed May 25, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 73e517e commit 843bc66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydmrs/pydelphin_interface.py
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
DEFAULT_CONFIG_FILE = 'default_interface.conf'

config = load_config(DEFAULT_CONFIG_FILE)
DEFAULT_ERG_FILE = config.get(config, 'Grammar', 'ERG')
DEFAULT_ERG_FILE = get_config_option(config, 'Grammar', 'ERG')


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

0 comments on commit 843bc66

Please sign in to comment.