intermediate commit

This commit is contained in:
2024-09-22 09:27:20 +02:00
parent a729d98a0d
commit 3be854d34c
14 changed files with 441 additions and 108 deletions
+21
View File
@@ -0,0 +1,21 @@
from core.ExecutionContext import ExecutionContext
from parsers.ParserInput import ParserInput
class BaseParser:
"""
Base class for parser than can be used in concept recognition
"""
def __init__(self, name):
self.name = name # name of the parser
def parse(self, context: ExecutionContext, parser_input: ParserInput, error_sink: list):
"""
Default signature for parsing
:param context:
:param parser_input:
:param error_sink:
:return:
"""
pass