snowblink14 / smatch

Smatch tool: evaluation of AMR semantic structures
MIT License
63 stars 25 forks source link

fix Windows support #19

Closed ablodge closed 4 years ago

ablodge commented 4 years ago

Please add encoding='utf8' as an arg to open in the following line: https://github.com/snowblink14/smatch/blob/ad7e6553a3d52e469b2eef69d7716c87a67eedac/smatch.py#L880 That will allow running smatch on windows.

snowblink14 commented 4 years ago

Can you send a pull request for this small change?

ablodge commented 4 years ago

See #20