Package org.omegat.gui.glossary
Class GlossarySearcher
- java.lang.Object
-
- org.omegat.gui.glossary.GlossarySearcher
-
public class GlossarySearcher extends java.lang.Object
A class encapsulating glossary matching logic.
-
-
Constructor Summary
Constructors Constructor Description GlossarySearcher(ITokenizer tok, Language lang, boolean mergeAltDefinitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GlossaryEntry>
searchSourceMatches(SourceTextEntry ste, java.util.List<GlossaryEntry> entries)
java.util.List<Token[]>
searchSourceMatchTokens(SourceTextEntry ste, GlossaryEntry entry)
java.util.List<java.lang.String>
searchTargetMatches(java.lang.String trg, ProtectedPart[] protectedParts, GlossaryEntry entry)
-
-
-
Constructor Detail
-
GlossarySearcher
public GlossarySearcher(ITokenizer tok, Language lang, boolean mergeAltDefinitions)
-
-
Method Detail
-
searchSourceMatches
public java.util.List<GlossaryEntry> searchSourceMatches(SourceTextEntry ste, java.util.List<GlossaryEntry> entries)
-
searchSourceMatchTokens
public java.util.List<Token[]> searchSourceMatchTokens(SourceTextEntry ste, GlossaryEntry entry)
-
searchTargetMatches
public java.util.List<java.lang.String> searchTargetMatches(java.lang.String trg, ProtectedPart[] protectedParts, GlossaryEntry entry)
-
-