Skip to content
/ meiou Public

A local, full-text indexed, term referenced search. With personality.

License

Notifications You must be signed in to change notification settings

xorgnak/meiou

Repository files navigation

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

About

A local, full-text indexed, term referenced search. With personality.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published