https://github.com/mkhuda/indofix
"Affixist" for Bahasa Indonesia (Penghilang Imbuhan)
https://github.com/mkhuda/indofix
affix affix-rules gem indonesia indonesian-language ruby rubygems
Last synced: 17 days ago
JSON representation
"Affixist" for Bahasa Indonesia (Penghilang Imbuhan)
- Host: GitHub
- URL: https://github.com/mkhuda/indofix
- Owner: mkhuda
- License: mit
- Created: 2018-04-28T13:54:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-16T14:59:31.000Z (about 8 years ago)
- Last Synced: 2026-05-27T16:46:31.185Z (about 1 month ago)
- Topics: affix, affix-rules, gem, indonesia, indonesian-language, ruby, rubygems
- Language: Ruby
- Homepage: https://rubygems.org/gems/indofix
- Size: 57.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Indofix [](https://travis-ci.org/iBahasa/indofix)
Affixed word to the base word for Bahasa. As used for [ibahasa.com](https://www.ibahasa.com) Puebi Engine. (Beta Un-well tested)
## Installation
Add this line to your application's Gemfile:
```ruby
gem "indofix"
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install indofix
## Usage
```ruby
require('indofix')
Indofix.check("nomina", "sulapan") => ["sulap"] # Return (Array)
Indofix.check("nomina", "seandainya") => ["seandai", "andainya", "andai"] # Return (Array)
Indofix.stupid_check("menyisakan") => {"menyisak"=>"other_adverbia_x_an", "menyisa"=>"verba_x_kan", "nyisakan"=>"other_adjektiva_me_x", "nyisa"=>"verbaplural_me_x_kan", "nyisak"=>"other_adjektiva_me_x_an", "enyisakan"=>"imbuhan_m_x"} # Return (Hash)
```
Valid params is `nomina`, `verba`, `kpst`, and `other`
NOTICE: `kpst` is under going.
> This gem are still under development, Open Issues / Ideas are welcome. Thank you
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/iBahasa/indofix. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the Indofix project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/iBahasa/indofix/blob/master/CODE_OF_CONDUCT.md).