/* Copyright (C) 2006, Xuan-Hieu Phan Email: hieuxuan@ecei.tohoku.ac.jp pxhieu@gmail.com URL: http://www.hori.ecei.tohoku.ac.jp/~hieuxuan Graduate School of Information Sciences, Tohoku University */ package crf.tagger; import java.io.*; import java.util.*; public class Element { public int count = 0; // the number of occurrences of this context predicate public int chosen = 0; // indicating whether or not it is incorporated into the model Map lbCntFidxes = null; // map of labels to CountFeatureIdxes List cpFeatures = null; // features associated with this context predicates boolean isScanned = false; // be scanned or not public Element() { lbCntFidxes = new HashMap(); cpFeatures = new ArrayList(); } } // end of class Element