*/
public void testHyphenationOnly() throws Exception {
Reader reader = new StringReader("basketballkurv");
Tokenizer tokenizer = new WhitespaceTokenizer(DEFAULT_VERSION, reader);
HyphenationCompoundWordTokenFilterFactory factory = new HyphenationCompoundWordTokenFilterFactory();
ResourceLoader loader = new SolrResourceLoader(null, null);
Map<String,String> args = new HashMap<String,String>(DEFAULT_VERSION_PARAM);
args.put("hyphenator", "da_UTF8.xml");
args.put("minSubwordSize", "2");
args.put("maxSubwordSize", "4");
factory.init(args);