Skip to content

Commit bb9bc6f

Browse files
authored
Merge pull request #209 from sciknoworg/dev
Renamed textual folder to text2onto, renamed BaseTextOntoDataset to BaseText2OntoDataset
2 parents 9765a6c + c0add9a commit bb9bc6f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

ontolearner/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
logger = logging.getLogger("ontolearner")
1111

1212
from .pipeline import ProcessorPipeline
13-
from ontolearner import base, data_structure, ontology, utils, tools
13+
from ontolearner import base, data_structure, ontology, text2onto, utils, tools
1414

1515
__all__ = [
1616
"base",
1717
"data_structure",
1818
"ontology",
19+
"text2onto",
1920
"tools",
2021
"utils",
2122
"ProcessorPipeline"

ontolearner/base/text2onto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from ontolearner.data_structure import TextualData, Term, Document, DocumentReference
77

88

9-
class BaseTextOntoDataset(ABC):
9+
class BaseText2OntoDataset(ABC):
1010
"""Base class for textual datasets."""
1111
data_full_name: str = None
1212

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from ..base.text2onto import BaseTextOntoDataset
1+
from ..base.text2onto import BaseText2OntoDataset
22

33

4-
class OLLMWikipedia(BaseTextOntoDataset):
4+
class OLLMWikipedia(BaseText2OntoDataset):
55
"""
66
OLLM Wikipedia is a synthetic ontology generated from Wikipedia articles.
77
It is used to evaluate the performance of ontology learning algorithms.

0 commit comments

Comments
 (0)