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