예제 #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'))