Project

meiou

0.0
The project is in a healthy, maintained state
A wrapper for for wikipedia entries, curated txt files, and other sources of knowledge.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Meiou

Used to find keywords in input text and return context about those keywords.

Installation

bundle

bundle add meiou

gems

gem install meiou

Usage

basic

Mieou["What is the meaning of life?"]

custom

First, create the "books/" directory in your project. Then include txt files with the necessary pieces of information. Finally you can do the following:

Meiou.compile!

Then you can use as normal, but also giving references to given text snippets.

Utilities

Toki Pona

Toki Pona is a constructed language with only 125 words.

s = Meiou.to_toki "I Love toki pona"
Meiou.from_toki s

dictionary

Meiou.extract("A string of input.") # extract keywords.
Meiou.extract("A string of input.") { |word|  } # extract keywords and process.
Meiou.define("A string of input.")  # define keywords of input.
Meiou.example("A string of input.") # find example from books.
Meiou.cite("A string of input.")    # Cite example from books.

mood

Meiou.mood["A string of input."]

emoji-fy

Meiou.simplify("A string of input.")

astronomy

Meiou.astronomy # astronomy object reference
Meiou.zodiac["year/month/day hour:minute"] # zodiac lookup by date