Sha256: 14b714f73cef9d2c532dc80e8b30fa69e2f9e004ea6f6fcd026ab23fad4aff91

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

# 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
```


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meiou-0.2.3 README.md