-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1685c5
commit 97a6879
Showing
3 changed files
with
22 additions
and
50 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...arch-naive-lemmatizer/src/main/java/org/sefaria/sefariaplugin/SefariaAnalyzerFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.sefaria.sefariaplugin; | ||
|
||
import org.apache.lucene.analysis.Analyzer; | ||
import org.elasticsearch.plugin.analysis.AnalyzerFactory; | ||
import org.elasticsearch.plugin.NamedComponent; | ||
import org.elasticsearch.plugin.Inject; | ||
|
||
import org.sefaria.sefariaplugin.analysis.SefariaAnalyzer; | ||
|
||
|
||
@NamedComponent( "sefaria-naive-lemmatizer") | ||
public class SefariaAnalyzerFactory implements AnalyzerFactory { | ||
|
||
@Inject | ||
public SefariaAnalyzerFactory() { | ||
} | ||
|
||
@Override | ||
public Analyzer create() { | ||
return new SefariaAnalyzer(); | ||
} | ||
} |
21 changes: 0 additions & 21 deletions
21
...ve-lemmatizer/src/main/java/org/sefaria/sefariaplugin/plugin/SefariaAnalyzerProvider.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...Search-naive-lemmatizer/src/main/java/org/sefaria/sefariaplugin/plugin/SefariaPlugin.java
This file was deleted.
Oops, something went wrong.