Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

新词发现 #63

Open
Nickname1230 opened this issue Jan 8, 2021 · 0 comments
Open

新词发现 #63

Nickname1230 opened this issue Jan 8, 2021 · 0 comments

Comments

@Nickname1230
Copy link

Nickname1230 commented Jan 8, 2021

SmoothNLP-master/smoothnlp/algorithm/phrase/ngram_utils.py", line 75, in _process_corpus_chunk
ngram_keys[ni] = (ngram_keys[ni] | nigram_freq.keys())
MemoryError
问题是ngram_keys过大?有什么优化方法吗

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant