def parse_text(self, text):
    parsings = []
    processed = self.pipeline.process(text, self.error)
    if self.error.occurred():
        return None
    try:
        for parsing0 in pyconll.load_from_string(processed):
            parsing = []
            for token in parsing0:
                utoken = token.form.lower()
                if (utoken in ['чтоб']):
                    parsing.append(UDPipeToken(token, upos='SCONJ', tags=[]))
                elif (utoken in ['средь']):
                    parsing.append(UDPipeToken(token, upos='ADP', tags=[]))
                else:
                    parsing.append(UDPipeToken(token))
            parsings.append(parsing)
    except:
        return None
    return parsings
def parse_text(self, text):
    parsings = []
    processed = self.pipeline.process(text, self.error)
    if self.error.occurred():
        return None
    try:
        for parsing0 in pyconll.load_from_string(processed):
            parsing = []
            for token in parsing0:
                utoken = token.form.lower()
                if (utoken in ['чтоб']):
                    parsing.append(UDPipeToken(token, upos='SCONJ', tags=[]))
                elif (utoken in ['средь']):
                    parsing.append(UDPipeToken(token, upos='ADP', tags=[]))
                else:
                    parsing.append(UDPipeToken(token))
            parsings.append(parsing)
    except:
        return None
    return parsings