MCPcopy Create free account
hub / github.com/dachev/node-cld

github.com/dachev/node-cld @v0.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.5 ↗ · + Follow
373 symbols 592 edges 87 files 148 documented · 40% updated 16mo ago★ 33812 open issues

Browse by type

Functions 252 Types & classes 121
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CLD

Build Status

A straight port of the CLD (Compact Language Detector) library embedded in Google's Chromium browser. The library detects the language from provided Javascript string. It's implemented in C++, with very basic Node bindings. Original work by Mike McCandless

Installation

    $ npm install cld

Usage

    var cld = require('cld');

    cld.detect(text);

License

Copyright 2011, Blagovest Dachev.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Core symbols most depended-on inside this repo

Shape

Function 126
Method 126
Class 111
Enum 10

Languages

C++99%
TypeScript1%

Modules by API surface

chromium/base/type_traits.h54 symbols
chromium/encodings/compact_lang_det/compact_lang_det_impl.cc39 symbols
chromium/base/scoped_ptr.h36 symbols
chromium/base/logging.h31 symbols
chromium/encodings/compact_lang_det/tote.h25 symbols
chromium/encodings/compact_lang_det/cldutil.cc18 symbols
chromium/encodings/compact_lang_det/cldutil.h16 symbols
chromium/languages/internal/languages.cc12 symbols
chromium/encodings/compact_lang_det/tote.cc11 symbols
chromium/encodings/compact_lang_det/getonescriptspan.cc10 symbols
chromium/encodings/compact_lang_det/subsetsequence.cc9 symbols
chromium/base/stl_decl_msvc.h9 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page