Пример #1
0
def rule103(sentence, keyword):
    # 匹配模式: ...与其...不如...
    return pattern.rule_skscks(sentence, keyword, comma=False)
Пример #2
0
def rule102(sentence, keyword):
    # 匹配模式: ...不仅..., 而且...
    return pattern.rule_skscks(sentence, keyword)
Пример #3
0
def rule102(sentence, keyword):
    # 匹配模式: ...与其..., 不如...
    return pattern.rule_skscks(sentence, keyword)
Пример #4
0
def rule102(sentence, keyword):
    # 匹配模式: ...虽然..., 但是...
    return pattern.rule_skscks(sentence, keyword)
Пример #5
0
def rule102(sentence, sub_sentences):
    # 匹配模式: ...一边...一边...
    return pattern.rule_skscks(sentence, sub_sentences, parallel_pairs,
                               comma=False)
Пример #6
0
def rule101(sentence, sub_sentences):
    # 匹配模式: ...一边..., 一边...
    return pattern.rule_skscks(sentence, sub_sentences, parallel_pairs)
Пример #7
0
def rule102(sentence, keyword):
    # 匹配模式: ...首先..., 然后...
    return pattern.rule_skscks(sentence, keyword)