Skip to content

Commit 2ac1374

Browse files
authored
Merge pull request #1103 from PyThaiNLP/remove-conceptnet
Remove conceptnet
2 parents 921dd33 + 5d32d4f commit 2ac1374

File tree

3 files changed

+0
-128
lines changed

3 files changed

+0
-128
lines changed

docs/api/corpus.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,6 @@ pythainlp.corpus.th_en_translit.get_transliteration_dict
122122
.. autofunction:: pythainlp.corpus.th_en_translit.get_transliteration_dict
123123
:noindex:
124124

125-
ConceptNet
126-
----------
127-
128-
ConceptNet is an open, multilingual knowledge graph used for various natural language understanding tasks. For more information, refer to the `ConceptNet documentation <https://github.com/commonsense/conceptnet5/wiki/API>`_.
129-
130-
pythainlp.corpus.conceptnet.edges
131-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132-
.. autofunction:: pythainlp.corpus.conceptnet.edges
133-
:noindex:
134125

135126
TNC (Thai National Corpus)
136127
---

pythainlp/corpus/conceptnet.py

Lines changed: 0 additions & 115 deletions
This file was deleted.

tests/core/test_corpus.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from requests import Response
1010

1111
from pythainlp.corpus import (
12-
conceptnet,
1312
countries,
1413
download,
1514
find_synonyms,
@@ -39,9 +38,6 @@
3938

4039

4140
class CorpusTestCase(unittest.TestCase):
42-
def test_conceptnet(self):
43-
self.assertIsNotNone(conceptnet.edges("รัก"))
44-
4541
def test_corpus(self):
4642
self.assertIsInstance(thai_negations(), frozenset)
4743
self.assertGreater(len(thai_negations()), 0)

0 commit comments

Comments
 (0)