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