added lucene & solr libraries as well as initial tibetan language processing code + new build file
This commit is contained in:
parent
3cd1f09087
commit
030f279e28
14 changed files with 282 additions and 0 deletions
14
source/org/thdl/lucene/TshegBarTokenizerFactory.java
Normal file
14
source/org/thdl/lucene/TshegBarTokenizerFactory.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
package org.thdl.lucene;
|
||||
|
||||
import org.apache.lucene.analysis.*;
|
||||
import org.apache.solr.analysis.*;
|
||||
import java.io.*;
|
||||
|
||||
public class TshegBarTokenizerFactory extends BaseTokenizerFactory {
|
||||
public TshegBarTokenizerFactory() {
|
||||
}
|
||||
public TokenStream create(Reader input) {
|
||||
return new TshegBarTokenizer(input);
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue