예제 #1
0
파일: dataset.py 프로젝트: official71/nlp
def get_english_test_blind_corpus():
    root = os.path.join(BASE_PATH, 'english/')
    files = ['test_blind.conll']
    return DependencyCorpusReader(root, files)
예제 #2
0
파일: dataset.py 프로젝트: official71/nlp
def get_korean_train_corpus():
    root = os.path.join(BASE_PATH, 'korean/')
    files = ['train.conll']
    return DependencyCorpusReader(root, files)
예제 #3
0
파일: dataset.py 프로젝트: official71/nlp
def get_danish_test_corpus():
    root = os.path.join(BASE_PATH, 'danish/')
    files = ['test.conll']
    return DependencyCorpusReader(root, files)
예제 #4
0
파일: dataset.py 프로젝트: official71/nlp
def get_swedish_train_corpus():
    root = os.path.join(BASE_PATH, 'swedish/')
    files = ['train.conll']
    return DependencyCorpusReader(root, files)
예제 #5
0
def get_english_dev_corpus():
    root = os.path.join(BASE_PATH, 'english')
    files = ['dev/en-universal-dev.conll']
    return DependencyCorpusReader(root, files)
예제 #6
0
파일: dataset.py 프로젝트: official71/nlp
def get_swedish_dev_blind_corpus():
    root = os.path.join(BASE_PATH, 'swedish/')
    files = ['dev_blind.conll']
    return DependencyCorpusReader(root, files)
예제 #7
0
def get_english_train_corpus():
    #root = os.path.join(BASE_PATH, 'english')
    #files = ['train/en-universal-train.conll']
    files = ['en-universal-train.conll.txt']
    root = os.path.join(BASE_PATH, 'Homework2_done')
    return DependencyCorpusReader(root, files)
예제 #8
0
def get_korean_test_corpus():
    root = os.path.join(BASE_PATH, 'korean')
    files = ['test/ko-universal-test.conll']
    return DependencyCorpusReader(root, files)
예제 #9
0
def get_dutch_test_corpus():
    root = os.path.join(BASE_PATH, 'dutch/alpino')
    files = ['test/dutch_alpino_test.conll']
    return DependencyCorpusReader(root, files)
예제 #10
0
def get_danish_train_corpus():
    root = os.path.join(BASE_PATH, 'danish/ddt')
    files = ['train/danish_ddt_train.conll']
    return DependencyCorpusReader(root, files)
예제 #11
0
def get_swedish_test_corpus():
    root = os.path.join(BASE_PATH, 'swedish/talbanken05')
    files = ['test/swedish_talbanken05_test.conll']
    return DependencyCorpusReader(root, files)