Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carrot2/carrot2
/ functions
Functions
3,652 in github.com/carrot2/carrot2
⨍
Functions
3,652
◇
Types & classes
604
↓ 6 callers
Method
check
( Stream<? extends Document> documents, double[][] expectedPhraseMatrixElements)
core/src/test/java/org/carrot2/text/preprocessing/PhraseMatrixBuilderTest.java:82
↓ 6 callers
Method
compile
For each pattern, create an inverted index containing: {@code normalized(token) -> patternList} so that we can quickly compute the list of candidate p
core/src/main/java/org/carrot2/language/GlobDictionary.java:183
↓ 6 callers
Method
constainsStem
(String stemImage)
core/src/test/java/org/carrot2/text/preprocessing/PreprocessingContextAssert.java:293
↓ 6 callers
Method
constructor
(path)
dcs/contexts/frontend/app/src/carrot2/routes.js:8
↓ 6 callers
Method
ensureBuffer
Ensures that there is enough room in the buffer to directly access the next N chars via buffer[].
core/src/main/java/org/carrot2/internal/nanojson/JsonTokener.java:369
↓ 6 callers
Method
forEachPair
(IntDoubleProcedure procedure)
core/src/main/java/org/carrot2/math/mahout/map/OpenIntDoubleHashMap.java:92
↓ 6 callers
Method
forEachPair
(final IntDoubleProcedure procedure)
core/src/main/java/org/carrot2/math/mahout/map/AbstractIntDoubleMap.java:80
↓ 6 callers
Method
from
Returns the builder for a suffix tree made from <code>sequence</code>.
core/src/main/java/org/carrot2/text/suffixtree/SuffixTreeBuilder.java:38
↓ 6 callers
Method
getInterfaceClass
()
core/src/main/java/org/carrot2/attrs/AttrObject.java:57
↓ 6 callers
Method
getLength
Returns the length (number of elements) of the range most recently acquired from {@link #next()}.
core/src/main/java/org/carrot2/util/IntArrayPredicateIterator.java:81
↓ 6 callers
Method
getMultiplicator
()
core/src/main/java/org/carrot2/math/mahout/function/Mult.java:34
↓ 6 callers
Method
getQualifiedName
(Class<?> clazz)
infra/docattrs/src/main/java/org/carrot2/infra/docattrs/ClassInfoCollector.java:39
↓ 6 callers
Method
getValues
()
core/src/main/java/org/carrot2/math/mahout/OrderedIntDoubleMapping.java:42
↓ 6 callers
Function
hn
(e)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:6
↓ 6 callers
Method
ifValid
( ObjectMapper om, CloseableHttpResponse httpResponse, ResponseConsumer<T> responseConsumer)
dcs/examples/src/main/java/org/carrot2/dcs/examples/CommandScaffold.java:78
↓ 6 callers
Method
isEmpty
()
core/src/main/java/org/carrot2/math/mahout/list/AbstractList.java:19
↓ 6 callers
Method
isSequentialAccess
()
core/src/main/java/org/carrot2/math/mahout/Vector.java:37
↓ 6 callers
Function
je
(t,e)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:1
↓ 6 callers
Method
listAll
(Path src)
infra/tests/src/test/java/org/carrot2/SyncTest.java:64
↓ 6 callers
Method
matches
(String[] tokens, String[] normalized, int[] types)
core/src/main/java/org/carrot2/language/GlobDictionary.java:296
↓ 6 callers
Method
mult
(double b)
core/src/main/java/org/carrot2/math/mahout/function/Functions.java:524
↓ 6 callers
Method
negative
(String... patterns)
core/src/test/java/org/carrot2/language/EphemeralDictionariesTest.java:90
↓ 6 callers
Function
nn
(e,t)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 6 callers
Function
pe
(e,t)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 6 callers
Method
plus
(final double b)
core/src/main/java/org/carrot2/math/mahout/function/Functions.java:533
↓ 6 callers
Method
positive
(String... patterns)
core/src/test/java/org/carrot2/language/EphemeralDictionariesTest.java:85
↓ 6 callers
Function
qe
(t,e,n)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:1
↓ 6 callers
Method
r_mark_lArI
()
core/src/main/java/org/carrot2/language/snowball/TurkishStemmer.java:849
↓ 6 callers
Method
removeKey
(int key)
core/src/main/java/org/carrot2/math/mahout/map/OpenIntDoubleHashMap.java:304
↓ 6 callers
Method
sendGet
(URI path)
infra/tests/src/main/java/org/carrot2/HttpRequest.java:48
↓ 6 callers
Method
set
(double value)
core/src/main/java/org/carrot2/math/mahout/Vector.java:54
↓ 6 callers
Method
setK
Sets the number of base vectors <i>k </i>. @param k the number of base vectors
core/src/main/java/org/carrot2/math/matrix/IterativeMatrixFactorizationBase.java:81
↓ 6 callers
Method
setMaxIterations
Sets the maximum number of iterations the k-means algorithm is allowed to perform.
core/src/main/java/org/carrot2/math/matrix/KMeansSeedingStrategyFactory.java:33
↓ 6 callers
Method
setSizeRaw
(int newSize)
core/src/main/java/org/carrot2/math/mahout/list/AbstractDoubleList.java:380
↓ 6 callers
Method
setTermBuffer
Sets the <strong>current</strong> token image to the provided buffer. @param array buffer in which the <strong>current</strong> token's image should
core/src/main/java/org/carrot2/language/Tokenizer.java:110
↓ 6 callers
Function
settingFromDescriptor
(map, id, override)
dcs/contexts/frontend/app/src/carrot2/service/algorithms/attributes.js:110
↓ 6 callers
Method
size
()
core/src/main/java/org/carrot2/math/mahout/list/AbstractList.java:17
↓ 6 callers
Method
toSet
(String[] strings)
core/src/main/java/org/carrot2/language/DefaultDictionaryImpl.java:93
↓ 6 callers
Function
token
(type, content)
doc/src/js/attributes-outline.js:69
↓ 6 callers
Method
updateApproximationError
@return true if the decrease in the approximation error is smaller than the <code>stopThreshold </code>
core/src/main/java/org/carrot2/math/matrix/IterativeMatrixFactorizationBase.java:94
↓ 6 callers
Method
verifyRequest
(String requestResource, String responseResource)
dcs/contexts/service/src/test/java/org/carrot2/dcs/servlets/ClusterServletTest.java:124
↓ 6 callers
Method
withExactTokenType
raw value of token type field.
core/src/test/java/org/carrot2/text/preprocessing/PreprocessingContextAssert.java:381
↓ 6 callers
Function
xt
()
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Function
D
(e)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui.js:1
↓ 5 callers
Function
De
(t)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:1
↓ 5 callers
Function
Dn
(t,e,n,r)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:1
↓ 5 callers
Function
I
(e)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui.js:1
↓ 5 callers
Function
It
()
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Function
Kt
(e,t,n)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Function
Pt
(e,t,n,r)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Function
W
(e)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui.js:1
↓ 5 callers
Function
W
(t)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:1
↓ 5 callers
Method
addAllOfFromTo
(AbstractIntList other, int from, int to)
core/src/main/java/org/carrot2/math/mahout/list/AbstractIntList.java:36
↓ 5 callers
Method
addAllOfFromTo
(AbstractDoubleList other, int from, int to)
core/src/main/java/org/carrot2/math/mahout/list/AbstractDoubleList.java:37
↓ 5 callers
Method
addConstraint
(Constraint<? super T> c)
core/src/main/java/org/carrot2/attrs/Attr.java:50
↓ 5 callers
Method
advanceChar
Advance one character ahead, or return {@code EOF} on end of input.
core/src/main/java/org/carrot2/internal/nanojson/JsonTokener.java:404
↓ 5 callers
Function
at
(e,t,n)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Method
buildTermPhraseMatrix
Builds a term-phrase matrix in the same space as the main term-document matrix. If the processing context contains no phrases, {@link VectorSpaceModel
core/src/main/java/org/carrot2/text/vsm/TermDocumentMatrixBuilder.java:204
↓ 5 callers
Method
builder
(Class<T> clazz)
core/src/main/java/org/carrot2/attrs/AttrEnum.java:54
↓ 5 callers
Function
ce
(e,t,n,r)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Method
check
( Stream<? extends Document> documents, List<List<Integer>> expectedDocumentRanges, List<Lis
core/src/test/java/org/carrot2/text/preprocessing/PreprocessedDocumentScannerTest.java:98
↓ 5 callers
Method
checkAllSuffixes
Build a suffix tree for a given sequence and check if it contains all suffixes of the input sequence (ending in leaves).
core/src/test/java/org/carrot2/text/suffixtree/SuffixTreeTest.java:174
↓ 5 callers
Method
checkIterative
( DoubleMatrix2D expectedU, DoubleMatrix2D expectedV, IterativeMatrixFactorizationFactory fa
core/src/test/java/org/carrot2/math/matrix/MatrixFactorizationTest.java:217
↓ 5 callers
Method
checkRow
(int row)
core/src/main/java/org/carrot2/math/mahout/matrix/impl/AbstractMatrix2D.java:74
↓ 5 callers
Method
cluster
Performs STC clustering of documents.
core/src/main/java/org/carrot2/clustering/stc/STCClusteringAlgorithm.java:292
↓ 5 callers
Method
componentTypes
()
core/src/main/java/org/carrot2/language/LanguageComponentsProvider.java:26
↓ 5 callers
Method
computeIntersection
Compute the number of common elements in two (sorted) lists.
core/src/main/java/org/carrot2/clustering/stc/STCClusteringAlgorithm.java:792
↓ 5 callers
Method
dotSelf
()
core/src/main/java/org/carrot2/math/mahout/AbstractVector.java:144
↓ 5 callers
Method
enumClass
()
core/src/main/java/org/carrot2/attrs/AttrEnum.java:31
↓ 5 callers
Method
extract
Extracts just the attributes of an instance (no top-level type information is preserved). @param classToName Class to name mapping provider.
core/src/main/java/org/carrot2/attrs/Attrs.java:141
↓ 5 callers
Method
fetch
()
core/src/main/java/org/carrot2/math/mahout/AbstractMatrix.java:55
↓ 5 callers
Method
fixupAfterRawBufferRead
Helper function to fixup eof after reading buffer directly.
core/src/main/java/org/carrot2/internal/nanojson/JsonTokener.java:545
↓ 5 callers
Function
ge
(e,t)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js:1
↓ 5 callers
Function
get
(r, c)
dcs/contexts/frontend/app/src/carrot2/ui/sources/file-parser.js:24
↓ 5 callers
Method
getDistributionBasePath
()
distribution-tests/src/test/java/com/carrotsearch/lingo3g/it/DistributionTestBase.java:183
↓ 5 callers
Method
getQuick
(int index)
core/src/main/java/org/carrot2/math/mahout/Vector.java:63
↓ 5 callers
Method
hasNext
()
core/src/main/java/org/carrot2/util/IntArrayPredicateIterator.java:60
↓ 5 callers
Method
image
()
core/src/main/java/org/carrot2/language/GlobDictionary.java:595
↓ 5 callers
Method
indexOfFromTo
(int element, int from, int to)
core/src/main/java/org/carrot2/math/mahout/list/AbstractIntList.java:174
↓ 5 callers
Method
indexOfFromTo
(double element, int from, int to)
core/src/main/java/org/carrot2/math/mahout/list/AbstractDoubleList.java:175
↓ 5 callers
Method
isDense
()
core/src/main/java/org/carrot2/math/mahout/Vector.java:35
↓ 5 callers
Method
isEquivalentTo
Asserts that the matrix is equivalent to the provided array of values.
core/src/test/java/org/carrot2/math/matrix/DoubleMatrix1DAssertion.java:31
↓ 5 callers
Method
iterate
Iterate over all documents, fields and sentences in {@link PreprocessingContext#allTokens}.
core/src/main/java/org/carrot2/text/preprocessing/PreprocessedDocumentScanner.java:47
↓ 5 callers
Function
k
(t,e,n,r,i,o)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:13
↓ 5 callers
Method
lessThan
Determines the ordering of objects in this priority queue. Subclasses must define this one method.
core/src/main/java/org/carrot2/util/PriorityQueue.java:48
↓ 5 callers
Function
me
(t,e,n,r,i,o,u)
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js:1
↓ 5 callers
Method
named
(String description, Consumer<T> consumer)
core/src/main/java/org/carrot2/attrs/Constraint.java:28
↓ 5 callers
Method
normalizeColumnL2
Normalizes column vectors of matrix <code>A</code> so that their L2 norm (Euclidean distance) is equal to 1.0. @param A matrix to normalize @param wo
core/src/main/java/org/carrot2/math/matrix/MatrixUtils.java:34
↓ 5 callers
Method
nul
()
core/src/main/java/org/carrot2/internal/nanojson/JsonWriterBase.java:135
↓ 5 callers
Method
object
Parses a {@link JsonObject} from a source. <pre> JsonObject json = {@link JsonParser}.object().from("{\"a\":[true,false], \"b\":1}"); </pre>
core/src/main/java/org/carrot2/internal/nanojson/JsonParser.java:92
↓ 5 callers
Method
post
Invoked after <code>state</code> is fully traversed. @param state Identifier of the completed state.
core/src/main/java/org/carrot2/text/suffixtree/SuffixTree.java:126
↓ 5 callers
Method
preprocess
(String query, TestDocument... documents)
core/src/test/java/org/carrot2/text/preprocessing/filter/QueryLabelFilterTest.java:62
↓ 5 callers
Function
punctuation
doc/src/js/attributes-outline.js:70
↓ 5 callers
Method
r_RV
()
core/src/main/java/org/carrot2/language/snowball/ItalianStemmer.java:656
↓ 5 callers
Method
r_RV
()
core/src/main/java/org/carrot2/language/snowball/PortugueseStemmer.java:554
↓ 5 callers
Method
r_RV
()
core/src/main/java/org/carrot2/language/snowball/FrenchStemmer.java:545
↓ 5 callers
Method
r_mark_ymUs_
()
core/src/main/java/org/carrot2/language/snowball/TurkishStemmer.java:1172
↓ 5 callers
Method
rehash
(int newCapacity)
core/src/main/java/org/carrot2/math/mahout/map/OpenIntDoubleHashMap.java:276
↓ 5 callers
Method
run
()
dcs/distribution/src/main/java/org/carrot2/dcs/DcsLauncher.java:121
↓ 5 callers
Method
sendPost
(URI path)
infra/tests/src/main/java/org/carrot2/HttpRequest.java:52
← previous
next →
501–600 of 3,652, ranked by callers