assert (priorModS == null || (firstKS != null & lastKS != null)) : "need to specify first and last 'K' value when not using prior model.";
// seqMod probably shouldn't be null. warn if in verbose mode.
if(seqModS == null && verbose) { System.err.println("Warning: empty sequence model. Performance will suffer."); }
STPriorModel priorM = null;
if(priorModS != null && priorVocabS != null) {
try { priorM = new STPriorModel(priorModS, priorVocabS); }
catch (IOException ex) {
Logger.getLogger(WordAndPOSDictionaryLabellingStrategy.class.getName()).log(Level.SEVERE, null, ex);
}
}
STFex fex = new STFex(priorM);