Giter Club home page Giter Club logo

clj-unidecode's Introduction

clj-unidecode

A Clojure implementation of the Junidecode library. All credit with the exception of bugs goes to Giuseppe Cardone, the author of Junidecode, and by extension Sean M. Burke, author of Text::Unidecode perl module. All bugs, errors, or tragic programming practices are my sole responsibility. Speaking of which should you find any of them please submit an issue on github, pull requests are also welcome.

Depency Info

Clojars Project

Usage

(ns my-super-awesome-project
  (:require [clj-unidecode.core :refer (unidecode)]))

(defn is-bei-jing? []
  (= (unidecode "\u5317\u4eb0") "Bei Jing "))

See doc/intro.md for resetting the cache.

More information

For a more in-depth discussion of the problem see Giuseppe Cardone's Junidecode site http://www.ippatsuman.com/projects/junidecode/index.html

Also this is my first attempt at releasing any clojure code so any constructive criticism is appreciated.

License

Copyright © 2012 Michael Grubb. All Rights Reserved.

Released under the BSD license see LICENSE file for exact details.

clj-unidecode's People

Contributors

mgrubb avatar noahtheduke avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.