- 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/강성현
* HashMap을 사용하여 단어와 빈도수를 저장함. 저장할 빈도수가 2개라 int형 2개를 저장하는 Int2 클래스를 만듦.
import java.util.HashMap;
public static HashMap<String, Int2> words = new HashMap<String, Int2>();
import java.util.HashMap;
public static HashMap<String, Int2> words = new HashMap<String, Int2>();