• Stars
    star
    208
  • Rank 188,299 (Top 4 %)
  • Language
    C++
  • License
    BSD 3-Clause "New...
  • Created almost 13 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

compact language detection in ruby

Compact Language Detection

Blazing-fast language detection for Ruby provided by Google Chrome's Compact Language Detector.

How to Use

CLD.detect_language("This is a test")
# => {:name => "ENGLISH", :code => "en", :reliable => true}

CLD.detect_language("plus ça change, plus c'est la même chose")
# => {:name => "FRENCH", :code => "fr", :reliable => true}

Installation

Add this line to your application's Gemfile:

gem "cld"

And then execute:

$ bundle

Development

Thanks

Thanks to the Chrome authors, and to Mike McCandless for writing a Python version.

Licensed the same as Chrome. Jason Toy

More Repositories

1

awesome-tensorflow

TensorFlow - A curated list of dedicated resources http://tensorflow.org
17,173
star
2

sensenet

SenseNet is a sensorimotor and touch simulator for deep reinforcement learning research
Python
57
star
3

sketchnet

deep learning model that learns to code with drawing in the Processing language
Python
40
star
4

replicantlife

replicantlife is a framework for generative agents that can be used in a simulation engine or standalone. Agents are powered with metacognition modules that allow that to learn and adjust their strategy over time.
Python
24
star
5

em-postgres

A postgresql driver for eventmachine
Ruby
21
star
6

sanbit_translations

a rails plugin that gives adds a facebook like translation system to your rails app
Ruby
16
star
7

tensorbot

a tensorflow and raspberry pi powered autonomous robot
Python
15
star
8

awesome-malmo-minecraft

13
star
9

compass-fluid960-plugin

a compass port of the fluid960 project
Ruby
9
star
10

awesome-creativeai

9
star
11

del2ip

sinatra app to copy delicious bookmarked urls to instapaper
Ruby
9
star
12

grid-cell-experiments

Python
8
star
13

neural_mirror_processing

a style transfer and deep dream mirror built on Processing and can be run on small devices like raspberry pi
Processing
7
star
14

chinese-converter

Convert Simplified Chinese Characters to Traditional Characters and vice-versa
5
star
15

googlevoice

Google Voice library for ruby
Ruby
3
star
16

crdict

A dictionary based off cedict written in RubyCocoa
Ruby
3
star
17

word-rnn-tf

Python
3
star
18

seq2seq_translator

Python
3
star
19

word2vec

Python
2
star
20

Email-Responder

Python
2
star
21

pybullet_tutorial

Python
2
star
22

sn

Python
2
star
23

torch-slow-neural-style

Lua
2
star
24

merb-geokit

merb-geokit git fork from svn
Ruby
2
star
25

image-analogies

Python
2
star
26

p5meta-eda

a simple GUI written in p5js to to generate p5js code - its a meta editor!
JavaScript
2
star
27

caffe_inception

inception modified for fast training of new hallucinations
Python
2
star
28

sfpc_finalshowcase

interactive Processing + kinect sketches I did as part of my final showcase at sfpc
Processing
2
star
29

style_transfer_photo_gallery

Shell
1
star
30

github_cloner

Ruby
1
star
31

jscad_code_generator_gui

experimenting with generating shapes via a GUI
JavaScript
1
star
32

merge-dream

Ruby
1
star
33

convolution_correlation_experiments

Python
1
star
34

slack_stylizebot

Python
1
star
35

jekyll_sketch_test

Ruby
1
star
36

sleep

just a simple twitter app
Ruby
1
star
37

python_collage_maker

Python
1
star
38

torch-fast-neural-style

Lua
1
star
39

rc

Shell
1
star
40

iVoicer

A Ruby Cocoa mac application to interact with Google Voice
Ruby
1
star
41

youtube_to_podcast

Ruby
1
star
42

keras_neural_style

Python
1
star
43

helen-keller-talking-head-models

experimental recurrent neural network models trained with helen keller's books to see if we can build futurama's talking heads
1
star
44

randomforest

1
star