Project

epos

0.0
No commit activity in last 3 years
No release in over 3 years
Provides access to the Houaiss dictionary data files. Entries can be exported as HTML.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.0.0, ~> 2.0
< 2
 Project Readme

Epos

Epos, from the Greek ἔπος (“word”), is a Ruby gem that gives you access to the data files of the excellent Houaiss dictionary.

Please notice that you must buy the dictionary in order to use this gem.

Features

  • Entries can be retrieved as HTML.
  • Both the main dictionary and the morpheme one are supported.
  • There's a parser for the structure used by entries.
  • There's a parser for the RTF-like format used by the text.
  • Characters are rendered correctly, even those in the etymology section or in the pronunciation of foreign words.

Installation

gem install epos

Example

The following example looks up the word épico and saves it to a file:

require 'epos'
dict = Epos::Dictionary.new("/home/user/houaiss")
File.write("épico.html", dict.look_up("épico"))

This is what it should look like:

épico

Limitations

  • No support for animal sounds, verb conjugation, etc.
  • No nice interface.

Compatibility

I know it works with version 2009.6 (July 2013). I don't know about any other version.