Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Mar 18, 2020
2 parents b8caad4 + 81495d2 commit cf983b2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ Most recent releases are shown at the top. Each release shows:
- **Fixed**: Bug fixes that don't change documented behaviour


## 0.11.3 (2020-03-18)

### New:
- N/A

### Changed:
- N/A

### Fixed:
- prevent errors with reading word vector files on Windows by specifying `encoding='utf-8'`


## 0.11.2 (2020-03-18)

### New:
Expand Down
2 changes: 1 addition & 1 deletion ktrain/text/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_coefs(word, *arr): return word, np.asarray(arr, dtype='float32')


def file_len(fname):
with open(fname) as f:
with open(fname, encoding='utf-8') as f:
for i, l in enumerate(f):
pass
return i + 1
Expand Down
2 changes: 1 addition & 1 deletion ktrain/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__all__ = ['__version__']
__version__ = '0.11.2'
__version__ = '0.11.3'

0 comments on commit cf983b2

Please sign in to comment.