Giter Club home page Giter Club logo

co-bran's Introduction

Co-bran

Motivation:

A silly project that revereses word's syllables in a sentance. Written for Cyrillic alphabet and bulgarian language's rules.

Co-bran is named after a person I know who loves speaking and writing in this way. (I don't judge anybody).

It is meant to be run in Deno. Actually it was a project meant to test Deno's features.

Expected result:

input: "Мишо, жив и здрав, много бира в корема, хмел в магазина и пачки в джоба"

expected output (still debatable how correct the "encoding" is): "Шоми, жив и вардз, гомно раби в мареко, лемх в назигама и кипач в баджо"

Usage:

In a Deno project import the url for the latest code:

import {
  encodeSentence
} from 'https://raw.githubusercontent.com/ibetovski/co-bran/master/src/sentence.js'

or specify a version:

import {
  encodeSentence
} from 'https://raw.githubusercontent.com/ibetovski/co-bran/v0.0.1/src/sentence.js'

Then use it as:

console.log(
  encodeSentence(
    "Some silly sentance in bulgarian language here (in cyrillic)"
  )
);

Tests:

Still not all tests are completed. Needs more work on the word splitting in syllables.

$ deno test

co-bran's People

Stargazers

Mihail Irintchev avatar

Watchers

James Cloos avatar Iliyan Betovski 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.