Skip to content

Commit

Permalink
Fix typos and broken examples in rel_ext_01_task.ipynb
Browse files Browse the repository at this point in the history
Fixes a handful of prose typos, minor code bugs, and some broken examples involving Steve Jobs, which I presume broke because of carving out a separate test set.
  • Loading branch information
wcmac committed Apr 16, 2019
1 parent 2ffb517 commit 01fe54e
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 81 deletions.
2 changes: 1 addition & 1 deletion rel_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def show_examples_for_pair(self, e1, e2):
len(exs), e1, e2))
print(exs[0])
else:
print('No examples for {0:} and {1:} is:'.format(e1, e2))
print('No examples for {0:} and {1:}'.format(e1, e2))

def __str__(self):
return 'Corpus with {0:,} examples'.format(len(self.examples))
Expand Down
Loading

0 comments on commit 01fe54e

Please sign in to comment.