mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-18 12:12:20 +03:00
* Update default freq thresholds in init_model
This commit is contained in:
parent
6c01e01f12
commit
90ad717dc4
|
@ -88,7 +88,7 @@ def _read_probs(loc):
|
||||||
return probs, probs['-OOV-']
|
return probs, probs['-OOV-']
|
||||||
|
|
||||||
|
|
||||||
def _read_freqs(loc, max_length=100, min_doc_freq=5, min_freq=10):
|
def _read_freqs(loc, max_length=100, min_doc_freq=5, min_freq=100):
|
||||||
if not loc.exists():
|
if not loc.exists():
|
||||||
print("Warning: Frequencies file not found")
|
print("Warning: Frequencies file not found")
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user