All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.apache.lucene.search.spell.DirectSpellChecker.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?Hcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellCheckerjava/lang/ObjectDirectSpellChecker.javaRcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker$ScoreTerm	ScoreTermINTERNAL_LEVENSHTEINFLcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;maxEditsI	minPrefixmaxInspectionsaccuracyFthresholdFrequencyminQueryLengthmaxQueryFrequencylowerCaseTermsZ
comparatorLjava/util/Comparator;[Ljava/util/Comparator;distance()V
	
	 	"?	%	'	)<#?
	,	.Fcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWordQueue0DEFAULT_COMPARATOR2	13	5	
	7
	9thisJLcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker;getMaxEdits()IsetMaxEdits(I)V'java/lang/UnsupportedOperationExceptionAInvalid maxEditsC(Ljava/lang/String;)VE
BFgetMinPrefixsetMinPrefixgetMaxInspectionssetMaxInspectionsgetAccuracy()FsetAccuracy(F)VgetThresholdFrequencysetThresholdFrequency"java/lang/IllegalArgumentExceptionR8Fractional absolute document frequencies are not allowedT
SFgetMinQueryLengthsetMinQueryLengthgetMaxQueryFrequencysetMaxQueryFrequencygetLowerCaseTerms()ZsetLowerCaseTerms(Z)V
getComparator()Ljava/util/Comparator;
setComparator(Ljava/util/Comparator;)VgetDistanceH()Lcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;setDistanceI(Lcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance;)VsuggestSimilar?(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;ILcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)[Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;java/io/IOExceptioniAcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestModekSUGGEST_WHEN_NOT_IN_INDEXCLcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestMode;mn	lo?(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;ILcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestMode;)[Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;gq
rterm5Lcom/groupbyinc/flux/common/apache/lucene/index/Term;numSugir
??codePointCount(II)I??
??Acom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord?field??
??java/util/Locale?ROOTLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
??'(Ljava/lang/String;Ljava/lang/String;)V?
??:com/groupbyinc/flux/common/apache/lucene/index/IndexReader?docFreq8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)I??
??maxDoc?>
??java/lang/Math?ceil(D)D??
??SUGGEST_MORE_POPULAR?n	l?max??
???(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;ILcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;IIFLcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;)Ljava/util/Collection;g?
?java/util/Collection?size?>??java/util/HashSet?
?addAll(Ljava/util/Collection;)Z??
??iterator()Ljava/util/Iterator;????D[Lcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;?java/util/Iterator?hasNext?\??next()Ljava/lang/Object;????
?termAsStringLjava/lang/String;??	?8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;t?	?
copyUTF8Bytes;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V??
~?toString??
~?string??	??score?	?	??docfreq?	?freq?	??java/util/Collections?reverseOrder.(Ljava/util/Comparator;)Ljava/util/Comparator;??
??7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil?timSort,([Ljava/lang/Object;Ljava/util/Comparator;)V??
??java/lang/System?	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)V??
?	moreTermsiLjava/util/HashSet;Ljava/util/HashSet;
suggestionCLcom/groupbyinc/flux/common/apache/lucene/search/spell/SuggestWord;sTLcom/groupbyinc/flux/common/apache/lucene/search/spell/DirectSpellChecker$ScoreTerm;i$Ljava/util/Iterator;trimmedspare?Lcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;termslLjava/util/Collection;Ljava/util/Collection;inspectionssuggestionsindex=com/groupbyinc/flux/common/apache/lucene/util/AttributeSource
Ocom/groupbyinc/flux/common/apache/lucene/search/MaxNonCompetitiveBoostAttributeaddAttributeL(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute;
:com/groupbyinc/flux/common/apache/lucene/index/MultiFieldsgetTerms?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; 
!	emptyList()Ljava/util/List;#$
?%4com/groupbyinc/flux/common/apache/lucene/index/Terms'>com/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum)?(Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeSource;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;FIZ)V+
*,java/util/PriorityQueue.
/6com/groupbyinc/flux/common/apache/lucene/util/BytesRef1(Ljava/lang/CharSequence;)V3
24

attributesA()Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeSource;78
*9>com/groupbyinc/flux/common/apache/lucene/search/BoostAttribute;:()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;?=
*>getBoost@M<A
/?peekD?
/EboostG	HbytesEquals;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)ZJK
2L?>
*NgetScaleFactorPM
*QgetMinSimilaritySM
*TDcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistanceV'(Ljava/lang/String;Ljava/lang/String;)FcXWY
deepCopyOfr(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;[\
2]offer(Ljava/lang/Object;)Z_`
/apollc?
/d??setMaxNonCompetitiveBoostgOhdfeditDistanceatts?Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeSource;maxBoostAttQLcom/groupbyinc/flux/common/apache/lucene/search/MaxNonCompetitiveBoostAttribute;6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;e@Lcom/groupbyinc/flux/common/apache/lucene/search/FuzzyTermsEnum;stQueueoLjava/util/PriorityQueue;Ljava/util/PriorityQueue;	queryTerm
candidateTermstboostAtt@Lcom/groupbyinc/flux/common/apache/lucene/search/BoostAttribute;Ocom/groupbyinc/flux/common/apache/lucene/search/spell/LuceneLevenshteinDistance|
}	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable]()Ljava/util/Comparator;LocalVariableTypeTable^(Ljava/util/Comparator;)V
Exceptions"(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;ILcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;IIFLcom/groupbyinc/flux/common/apache/lucene/util/CharsRefBuilder;)Ljava/util/Collection;
SourceFileInnerClasses!	


??=*?*?*?!*?#*$?&*?(*?**+?-*?/*?4?6*?8?:??=;<?2\D	FHJMO#S)U.W5Y<\=>?/*???;<?a?@?d??
?BYD?G?*???;<?l
mno?
	H>?/*?!??;<?uI@?>*?!??;<
?
??J>?/*?#??;<??K@?>*?#??;<?
??LM?/*?&??;<??NO?>*#?&??;<?
??PM?/*?(??;<??QO?g#??##????
?SYU?V?*#?(??;<??????W>?/*?*??;<??X@?>*?*??;<?
??YM?/*?-??;<??ZO?g#??##????
?SYU?V?*#?-??;<??????[\?/*?/??;<??]^?>*?/??;<?
??_`?/*?6??;<???ab?P*+?6??;<??
?cd?/*?:??;<?ef?>*+?:??;<
?
gh?S*+-?p?s??*;<tuvwx?"?jgq?`*+-*?&?{??4;<tuvwx|n?,?jgy??	޻~Y?:+??:*?*?????*?*????*?/???Y+????????L-+??6?p?
????-??6	*?-???*?-?????*?-	?j???????????6*?(??*?(???6?*?(??*?(	?j?d??6:
*?#h6*+-??:
*??<
???0??Y??:
??W*+-*?????W:

????:?d6

??:???_???:??Y??:????۶?????ص???????
?
?S???*?6????????:?:???$mDdMNf	
???;<?tu?v?wx?|n?	?
???O??gw?	?
??>??E?
?$?
??-@	AB(C-E4FHIOK\LaOgQ{R?S?T?W?Y?Z?[?\?_?`?c?defg.h2m>nEodpmqurs?u?v?w?x?y?{?|?}?~????6
?-~???
?\?????:??*&?jg???	??Y?:??:	-+???":

??&??*Y
+?*?!d???-:?/Y?0:?2Y+???5:
?Y?6:?:




© 2015 - 2025 Weber Informatics LLC | Privacy Policy