yandex_inflect
yandex_inflect copied to clipboard
Web service client for Yandex.Inflect Russian language inflection service | Клиент веб-сервиса Яндекс.Склонятор
Bumps [rake](https://github.com/ruby/rake) from 0.9.2.2 to 12.3.3. Changelog *Sourced from [rake's changelog](https://github.com/ruby/rake/blob/master/History.rdoc).* > === 12.3.3 > > ==== Bug fixes > > * Use the application's name in error message if...
Bumps [multi_xml](https://github.com/sferik/multi_xml) from 0.4.1 to 0.6.0. Changelog *Sourced from [multi_xml's changelog](https://github.com/sferik/multi_xml/blob/master/CHANGELOG.md).* > 0.5.5 > ----- > * [Fix symbolize_keys function](https://github.com/sferik/multi_xml/commit/a4cae3aeb690999287cd30206399abaa5ce1ae81) > * [Fix Nokogiri parser for the same attr and...
May be API has been changed and yandex inflections service has another response now.
Example of permanent cache for README or Wiki: ``` ruby YandexInflect.module_eval do private def self.cache_lookup(word) InflectionCache.find_by_word(word).try(:value) end def self.cache_store(word, value) InflectionCache.find_or_create_by_word(word: word, value: value).value end end ``` ``` ruby class...
I can prepare Rails example for README or Wiki, something like this: `app/models/inflection.rb` ``` ruby class Inflection def self.inflections(word) YandexInflect.inflections(word) end def self.genitive(word) { genitive: self.inflections(word)[1]['__content__'] } end end ```...
Bumps [httparty](https://github.com/jnunemaker/httparty) from 0.8.0 to 0.21.0. Changelog Sourced from httparty's changelog. 0.21.0 escape filename in the multipart/form-data Content-Disposition header Fix request marshaling Replace mime-types with mini_mime 0.20.0 Breaking changes Require...