Skip to content
/ libil Public
forked from libil/libil

libil is a library and command line for Basa Walikan Jogja and Malang implemented in Ruby

Notifications You must be signed in to change notification settings

lynxluna/libil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libil

Build Status

Libil is a library and a command line to convert a sentence or a word to using Basa Walikan Jogja and Malang implemented in Ruby.

Installation

Libil is packaged as RubyGems. You can install it using gem command

$ gem install libil
$ rbenv rehash          # if you're using rbenv

From Source

$ bundler install
$ gem build libil.gemspec
$ gem install libil-0.1.0.gem

Usage

Libil can be use as a library or a command line. To use it on your Ruby app or Rails app include libil on your source.

require 'libil'
converted = Libil::convert("Bali Ora, Mas?")

If you want to use it as command line, easy just run libil followed by word or sentence to convert.

$ libil Bali Ora, Mas?

If you're Javanese or understand Javanese language you ionder what's the meaning of the tool name, try running it with "libil" as the argument.

Malang Mode

Since 0.1.1 we also support Malang Mode of basa walikan.

$ libil --malang Malang

The API for Malang Mode is:

require 'libil'
converted = Libil::convert_ngalam("Surabaya Malang")

Enjoy

License

The MIT License (MIT)

Copyright (c) 2014 Didiet Noor

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

libil is a library and command line for Basa Walikan Jogja and Malang implemented in Ruby

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%