MCPcopy Index your code
hub / github.com/carrot2/carrot2

github.com/carrot2/carrot2 @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4,256 symbols 16,555 edges 570 files 648 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Tokenizer (Interface)
Splits input characters into tokens representing e.g. words, digits, acronyms, punctuation. For each token, the followin [8 …
core/src/main/java/org/carrot2/language/Tokenizer.java
StemmingFunction (Interface)
(no doc) [16 implementers]
lang/lucene/src/main/java/org/carrot2/lucene/analysis/LuceneStemmerAdapter.java
ResponseConsumer (Interface)
(no doc) [6 implementers]
dcs/examples/src/main/java/org/carrot2/dcs/examples/ResponseConsumer.java
ThrowingConsumer (Interface)
(no doc) [6 implementers]
distribution-tests/src/test/java/com/carrotsearch/lingo3g/it/ThrowingConsumer.java
ReferenceConverter (Interface)
(no doc) [4 implementers]
infra/jsondoclet/src/main/java/com/carrotsearch/jsondoclet/ReferenceConverter.java
DcsService (Interface)
(no doc) [4 implementers]
dcs/tests/src/testFixtures/java/org/carrot2/dcs/it/DcsService.java
ErrorResponseHandler (Interface)
(no doc)
dcs/model/src/main/java/org/carrot2/dcs/model/ErrorResponseHandler.java
Stemmer (Interface)
Simple lemmatization engine transforming an inflected form of a word to its base form or some other unique token. [25 …
core/src/main/java/org/carrot2/language/Stemmer.java

Core symbols most depended-on inside this repo

n
called by 2730
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js
n
called by 1586
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui.js
get
called by 1354
core/src/main/java/org/carrot2/math/mahout/Matrix.java
n
called by 916
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js
r
called by 720
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js
apply
called by 467
core/src/main/java/org/carrot2/math/mahout/function/IntProcedure.java
o
called by 465
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js
r
called by 345
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js

Shape

Method 2,984
Function 668
Class 533
Interface 65
Enum 6

Languages

Java84%
TypeScript16%

Modules by API surface

dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-bundle.js198 symbols
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui-standalone-preset.js169 symbols
dcs/contexts/service/src/main/webapp/openapi/swagger/swagger-ui.js114 symbols
core/src/main/java/org/carrot2/math/mahout/AbstractMatrix.java53 symbols
core/src/main/java/org/carrot2/language/GlobDictionary.java50 symbols
core/src/test/java/org/carrot2/text/preprocessing/PreprocessingContextAssert.java47 symbols
core/src/main/java/org/carrot2/language/snowball/TurkishStemmer.java45 symbols
core/src/main/java/org/carrot2/text/suffixtree/SuffixTree.java41 symbols
core/src/main/java/org/carrot2/math/mahout/list/AbstractIntList.java40 symbols
core/src/main/java/org/carrot2/math/mahout/list/AbstractDoubleList.java40 symbols
infra/jsondoclet/src/main/java/com/carrotsearch/jsondoclet/JavaDocsVisitor.java38 symbols
core/src/main/java/org/carrot2/math/mahout/Vector.java38 symbols

For agents

$ claude mcp add carrot2 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page