def getTypeLastNode(self, type_):
        """
        Obtains the last node or leaf of the type specified

        :param type_:
            Type we want to analize (sementity, semtheme)
        :return:
            Last node of the type
        """

        lastNode = ""
        if type_ and (type(type_) is not list) and (type(type_) is not dict):
            aType = type_.split('>')
            lastNode = aType[len(aType) - 1]
        return lastNode
Obtains the last node or leaf of the type specified

        :param type_:
            Type we want to analize (sementity, semtheme)
        :return:
            Last node of the type