Skip to content

IOError: [Errno 2] No such file or directory: 'tmp/parsed.conll09' #2

Description

@renespeck

Hi,

I installed everything and tried the example call but get an error:

➜  props-de git:(master) ✗ python parse_props.py -t --props --oie examples.txt
Traceback (most recent call last):
  File "parse_props.py", line 101, in <module>
    main(arguments)
  File "parse_props.py", line 45, in main
    gs = run.parseSentences(arguments["file"])
  File "/home/rspeck/test/props-de/propsde/applications/run.py", line 26, in parseSentences
    output_file = parser.parse(sentences)
  File "/home/rspeck/test/props-de/propsde/dependency_tree/german_parser.py", line 46, in parse
    parsed_conll09 = self.parse_external(sentences)
  File "/home/rspeck/test/props-de/propsde/dependency_tree/german_parser.py", line 78, in parse_external
    input = codecs.open(self.tmp+'/input.conll09', 'w', encoding='utf-8')
  File "/usr/lib/python2.7/codecs.py", line 898, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: 'tmp/input.conll09'

Thanks for help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions