Exemple #1
0
def run_turkish():
    params = Parameter()
    params.UseTransRules = True
    params.DoPruning = False
    params.DoCompound = False
    params.ExcludeUnreliable = False
    params.BestNCandSuffix = 150
    infile_train = r'data/wordlist.2010.tur.utf8.txt'
    infile_test_gold = r'data/mit/gold.tur.txt'
    run_experiment(infile_train, infile_test_gold, params)
Exemple #2
0
def run_finnish():
    """Runs an experiment on Finnish data against gold standard results."""
    params = Parameter()
    params.UseTransRules = False
    params.DoPruning = True
    params.DoCompound = True
    params.ExcludeUnreliable = True
    params.BestNCandSuffix = 150
    infile_train = r'data/wordlist.2010.fin.utf8.txt'
    infile_test_gold = r'data/mit/gold.fin.txt'
    run_experiment(infile_train, infile_test_gold, params)