Skip to content

Commit

Permalink
one more lowercase in dict
Browse files Browse the repository at this point in the history
  • Loading branch information
bmccann authored and soumith committed Mar 14, 2017
1 parent fcaf4c2 commit bde9f82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenNMT/onmt/Dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def prune(self, size):
_, idx = torch.sort(freq, 0, True)

newDict = Dict()
newDict.lower = self.lower

# Add special entries in all cases.
for i in self.special:
Expand Down

0 comments on commit bde9f82

Please sign in to comment.