示例#1
0
def test_parse_from_sentence_cs_junior_friendly_not(sentence):
    assert 'JUNIOR_FRIENDLY' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#2
0
def test_parse_from_sentence_cs_german_required_not(sentence):
    assert 'GERMAN_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#3
0
def test_parse_from_sentence_cs_independence_preferred_not(sentence):
    assert 'INDEPENDENCE_PREFERRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#4
0
def test_parse_from_sentence_en_advanced_required(sentence):
    assert 'ADVANCED_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#5
0
def test_parse_from_sentence_cs_tech_degree_required(sentence):
    assert 'TECH_DEGREE_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#6
0
def test_parse_from_sentence_cs_leadership_required(sentence):
    assert 'LEADERSHIP_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#7
0
def test_parse_from_sentence_en_tech_degree_required_not(sentence):
    assert 'TECH_DEGREE_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#8
0
def test_parse_from_sentence_en_independence_preferred(sentence):
    assert 'INDEPENDENCE_PREFERRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#9
0
def test_parse_from_sentence_en_explicitly_junior_not(sentence):
    assert 'EXPLICITLY_JUNIOR' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#10
0
def test_parse_from_sentence_en_czech_required_not(sentence):
    assert 'CZECH_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#11
0
def test_parse_from_sentence_en_slovak_required(sentence):
    assert 'SLOVAK_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#12
0
def test_parse_from_sentence_en_leadership_required_not(sentence):
    assert 'LEADERSHIP_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#13
0
def test_parse_from_sentence_en_german_required(sentence):
    assert 'GERMAN_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#14
0
def test_parse_from_sentence_en_explicitly_senior(sentence):
    assert 'EXPLICITLY_SENIOR' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#15
0
def test_parse_from_sentence_cs_explicitly_junior(sentence):
    assert 'EXPLICITLY_JUNIOR' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#16
0
def test_parse_from_sentence_en_junior_friendly(sentence):
    assert 'JUNIOR_FRIENDLY' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#17
0
def test_parse_from_sentence_cs_explicitly_senior_not(sentence):
    assert 'EXPLICITLY_SENIOR' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#18
0
def test_parse_from_sentence_cs_english_required_not(sentence):
    assert 'ENGLISH_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#19
0
def test_parse_from_sentence_cs_learning_required(sentence):
    assert 'LEARNING_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#20
0
def test_parse_from_sentence_cs_advanced_required_not(sentence):
    assert 'ADVANCED_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))
示例#21
0
def test_parse_from_sentence_en_years_experience_required(sentence):
    assert 'YEARS_EXPERIENCE_REQUIRED' in get_rule_ids(
        parse_from_sentence(sentence, 'en'))
示例#22
0
def test_parse_from_sentence_cs_years_experience_required_not(sentence):
    assert 'YEARS_EXPERIENCE_REQUIRED' not in get_rule_ids(
        parse_from_sentence(sentence, 'cs'))