We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab767a4 commit 51f144aCopy full SHA for 51f144a
pythainlp/corpus/__init__.py
@@ -50,7 +50,7 @@
50
51
# create a local corpus database if it does not already exist
52
if not os.path.exists(_CORPUS_DB_PATH):
53
- TinyDB(_CORPUS_DB_PATH)
+ TinyDB(_CORPUS_DB_PATH).close()
54
55
56
def corpus_path() -> str:
0 commit comments