* Fix init_model

This commit is contained in:
Matthew Honnibal 2015-07-25 22:54:08 +02:00
parent 5f183098e4
commit 8e800adfbc
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ def _read_probs(loc):
def _read_freqs(loc):
if not loc.exists():
print("Warning: Frequencies file not found")
return None
counts = PreshCounter()
total = 0
for line in loc.open():