Skip to content

Commit

Permalink
Added missing abstract contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhanercan committed Jan 20, 2025
1 parent b8589ad commit 5299d3b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Core/OSimUnrPipeline/PipelineProviderBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from src.Core.Morphology.POSTypes import POSTypes
from src.Core.Morphology.RootDetection.IRootDetector import IRootDetector
from src.Core.Orthographic.NormalizedStringSimilarity.EditDistance import EditDistance
from src.Core.Segmentation.Tokenizers.ITokenizer import ITokenizer
from src.Core.Task.IWordRelatednessBinaryClassifier import IWordRelatednessBinaryClassifier
from src.Core.WordNet.Classifiers.BlacklistedConceptsWordNetRelatednessFilterer import \
BlacklistedConceptsWordNetRelatednessFilterer
Expand All @@ -23,11 +24,11 @@ def __init__(self, ctx:LinguisticContext, osimAlgorithm:IWordSimilarity):
self._WordSource: IWordSource = None

@abstractmethod
def CreateWordNet(self):
def CreateWordNet(self)->IWordNet:
pass

@abstractmethod
def CreateWordSource(self):
def CreateWordSource(self) -> IWordSource:
pass

@abstractmethod
Expand All @@ -39,7 +40,7 @@ def CreateFastRootDetector(self) -> IRootDetector:
pass

@abstractmethod
def CreateTokenizer(self):
def CreateTokenizer(self) -> ITokenizer:
pass

#region Filterings
Expand Down

0 comments on commit 5299d3b

Please sign in to comment.