MCPcopy Index your code
hub / github.com/TheOpenDictionary/odict

github.com/TheOpenDictionary/odict @lib-v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release lib-v2.0.0 ↗ · + Follow
388 symbols 929 edges 134 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Go

The Open Dictionary Project (ODict for short), is an open-source, modern alternative to dictionary file formats like StarDict, Babylon and Apple Dictionaries.

It is:

:zap: Fast. Entry lookups take less than 1s and don't require indexing.

:brain: Easy. ODict files are written using dead-simple XML and compiled to binary.

:pinching_hand: Tiny. A single dictionary can store thousands of entries and stay under 1MB.

:package: Portable. ODict is a single executable written in Go that can run almost anywhere.

Wondering how to get started? Check out our Quickstart or read our official documentation.

Extension points exported contracts — how you extend this code

ToJSON (Interface)
(no doc) [7 implementers]
lib/src/json/json.rs
Definition (Interface)
(no doc)
node/index.d.ts
ToXML (Interface)
(no doc) [3 implementers]
lib/src/xml.rs
DictionaryOptions (Interface)
(no doc)
node/index.d.ts
ToDictionary (Interface)
(no doc) [2 implementers]
lib/src/ext.rs
Entry (Interface)
(no doc)
node/index.d.ts
ToSQL (Interface)
(no doc) [1 implementers]
lib/src/sql/sql.rs
Etymology (Interface)
(no doc)
node/index.d.ts

Core symbols most depended-on inside this repo

new
called by 103
cli/src/new.rs
to_string
called by 64
lib/src/core/semver.rs
into
called by 52
lib/src/models/id.rs
to_archive
called by 25
lib/src/core/read.rs
println
called by 16
cli/src/context.rs
lookup
called by 15
node/src/dictionary.rs
to_dictionary
called by 12
lib/src/core/read.rs
read_from_path
called by 11
lib/src/core/read.rs

Shape

Method 159
Function 123
Class 66
Enum 22
Interface 18

Languages

Rust91%
TypeScript6%
Python3%

Modules by API surface

node/index.d.ts18 symbols
node/src/dictionary.rs13 symbols
python/tests/test_lookup.py12 symbols
python/src/dictionary.rs11 symbols
lib/src/search/index.rs11 symbols
lib/src/core/read.rs11 symbols
cli/src/print/pprint.rs11 symbols
lib/src/core/lookup.rs9 symbols
lib/src/config/aliases.rs9 symbols
lib/src/search/search.rs8 symbols
lib/src/search/charabia.rs8 symbols
lib/src/models/mdstring.rs8 symbols

For agents

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

⬇ download graph artifact