Dictionary<String,Object> config = new Hashtable<String,Object>();
config.put(LuceneLabelTokenizer.PROPERTY_TOKENIZER_FACTORY, TOKENIZER_FACTORY_CLASS);
config.put(LuceneLabelTokenizer.PROPERTY_TOKEN_FILTER_FACTORY,TOKEN_FILTER_FACTORY_CLASSES);
config.put(LabelTokenizer.SUPPORTED_LANUAGES, "zh");
ComponentContext cc = new MockComponentContext(config);
luceneLabelTokenizer = new LuceneLabelTokenizer();
luceneLabelTokenizer.activate(cc);
}