cefr-words 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e74164fda49eb142d16d8fdda31634fd95e6b31a0211d215ee1d1607745d17c0
4
+ data.tar.gz: 45808906dffba35741d5540953db06b48089dcc8d1ecd762ae44a49e10c0033a
5
+ SHA512:
6
+ metadata.gz: 63252ce7e1e87caf5c5d934772a03d6d0f2ee25aa2b7afe350a2bca049afd33afbd01b39b6112c4eee7c13cd139600f7f400b5212870b9f61ab011b2fa9870cf
7
+ data.tar.gz: b7248dc86414e80c765a7e582fdc1950b427bdc60b201bee82fcec14f88bcff418b1c83628296bd4a0cafdd57319a3450d999552ba78efc5e8e2628987235f93
data/CHANGELOG.md ADDED
File without changes
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) [2022] [datpmt]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # CEFR Levels Words
2
+
3
+ A gem that provides English vocabulary lists organized by CEFR levels.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'cefr-words'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```bash
16
+ bundle install
17
+ ```
18
+
19
+ ## Usage
20
+ To get words with CEFR level:
21
+ ```ruby
22
+ word_list = CefrWords::WordList.new
23
+
24
+ # Get A1 words
25
+ word_list.words_by_level("a1")
26
+
27
+ # Get A1-C1 words
28
+ word_list.words_by_level("all")
29
+ ```
30
+
31
+ ## Contributors
32
+
33
+ - [datpmt](https://github.com/datpmt)
34
+
35
+ I welcome contributions to this project.
36
+
37
+ 1. Fork it.
38
+ 2. Create your feature branch (`git checkout -b your-feature`).
39
+ 3. Commit your changes (`git commit -am 'Add some feature'`).
40
+ 4. Push to the branch (`git push origin your-feature`).
41
+ 5. Create a new pull request.
42
+
43
+ ## References
44
+ 1. https://www.oxfordlearnersdictionaries.com/external/pdf/wordlists/oxford-phrase-list/Oxford%20Phrase%20List.pdf
45
+ 2. https://www.oxfordlearnersdictionaries.com/external/pdf/wordlists/oxford-3000-5000/The_Oxford_3000_by_CEFR_level.pdf
46
+
47
+ ## License
48
+ The gem is available as open source under the terms of the [MIT License](LICENSE).
data/lib/cefr-words.rb ADDED
@@ -0,0 +1,7 @@
1
+ require_relative 'cefr_words/version'
2
+ require_relative 'cefr_words/word_list'
3
+
4
+ # A gem that provides English vocabulary lists organized by CEFR levels.
5
+
6
+ module CefrWords
7
+ end