public class Viterbi extends Object
| Constructor and Description |
|---|
Viterbi() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,List> |
init_probs(Map<String,Double> pos_s) |
static List |
process(int N,
List<String> sentence,
Map<String,Map<String,Double>> suffix_tree,
Map<String,Map<String,Double>> suffix_tree_cap,
Map<NGram,Double> transition_probs,
Map<String,Map<String,Double>> word_probs,
double[] lambdas2,
double[] lambdas3,
double theta) |
public static List process(int N, List<String> sentence, Map<String,Map<String,Double>> suffix_tree, Map<String,Map<String,Double>> suffix_tree_cap, Map<NGram,Double> transition_probs, Map<String,Map<String,Double>> word_probs, double[] lambdas2, double[] lambdas3, double theta)
N - sentence - suffix_tree - suffix_tree_cap - transition_probs - word_probs - lambdas2 - lambdas3 - theta - Copyright © 2015. All rights reserved.