meiou 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -34
- data/books/Crystallizing_Public_Opinion.txt +4506 -5236
- data/books/Social_Organization.txt +11457 -13282
- data/books/interpretation_of_dreams.txt +20171 -22183
- data/books/the_prince.txt +4744 -5181
- data/lib/meiou/book.rb +16 -11
- data/lib/meiou/dictionary.rb +20 -14
- data/lib/meiou/version.rb +1 -1
- data/lib/meiou/word.rb +14 -1
- data/lib/meiou.rb +4 -0
- metadata +1 -2
- data/books/Increasing_Human_Efficiency_in_Business.txt +0 -8868
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ed7883fc4710608f63e64ecac68d66866ad1fa9376cb8f8ae84749a0b69cd0b
|
4
|
+
data.tar.gz: ac84de1e6b1409646f439e5b97ca8599584cdf3d356245c6bec202a48c4babc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bba40f60cb326e847f7330a449034f7f7be444116da85bac01beae6a61ae2fd87d402eff3189db502efa58b24ef35b8db5f8daf95fa3a5ef9d559c3786b9e41
|
7
|
+
data.tar.gz: e2c4e7dd446dfba6939f4d385fdeb66e35332ea6c44497e4663f2629d391d9e3a62b7d87090fea7e9c5a226771664f11623079eda19dc545a4e4315bdb760681
|
data/README.md
CHANGED
@@ -1,39 +1,26 @@
|
|
1
1
|
# Meiou
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/meiou`. To experiment with that code, run `bin/console` for an interactive prompt.
|
3
|
+
Used to find keywords in input text and return context about those keywords.
|
6
4
|
|
7
5
|
## Installation
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
18
|
-
|
6
|
+
### bundle
|
7
|
+
```
|
8
|
+
bundle add meiou
|
9
|
+
```
|
10
|
+
### gems
|
11
|
+
```
|
12
|
+
gem install meiou
|
13
|
+
```
|
19
14
|
## Usage
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
## License
|
34
|
-
|
35
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
36
|
-
|
37
|
-
## Code of Conduct
|
38
|
-
|
39
|
-
Everyone interacting in the Meiou project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/meiou/blob/master/CODE_OF_CONDUCT.md).
|
15
|
+
### basic
|
16
|
+
```
|
17
|
+
Mieou["What is the meaning of life?"]
|
18
|
+
```
|
19
|
+
### custom
|
20
|
+
First, create the "books/" directory in your project.
|
21
|
+
Then include txt files with the necessary pieces of information.
|
22
|
+
Finally you can do the following:
|
23
|
+
```
|
24
|
+
Meiou.compile!
|
25
|
+
```
|
26
|
+
Then you can use as normal, but also giving references to given text snippets.
|