# SDK Pullenti Address, version 4.14, september 2022. Copyright (c) 2013, Pullenti. All rights reserved.
# Non-Commercial Freeware and Commercial Software.
# This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C# project.
# The latest version of the code is available on the site www.pullenti.ru


from pullenti.ner.MetaToken import MetaToken

class IntOntologyToken(MetaToken):
    # Это привязка элемента внутренней отнологии к тексту
    
    def __init__(self, begin : 'Token', end : 'Token') -> None:
        super().__init__(begin, end, None)
        self.item = None;
        self.termin = None;
    
    @staticmethod
    def _new675(_arg1 : 'Token', _arg2 : 'Token', _arg3 : 'IntOntologyItem', _arg4 : 'Termin', _arg5 : 'MorphCollection') -> 'IntOntologyToken':
        res = IntOntologyToken(_arg1, _arg2)
        res.item = _arg3
        res.termin = _arg4
        res.morph = _arg5
        return res