dictionaries 0.3.24
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of dictionaries might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/README.md +250 -0
- data/bin/dictionaries +7 -0
- data/bin/unique_words_in_this_file +7 -0
- data/dictionaries.gemspec +85 -0
- data/doc/README.gen +210 -0
- data/doc/todo/todo.md +5 -0
- data/lib/dictionaries/ask_english_word.rb +141 -0
- data/lib/dictionaries/ask_italian_word.rb +84 -0
- data/lib/dictionaries/class/ask_word_from_dictionary.rb +693 -0
- data/lib/dictionaries/class/colours.rb +55 -0
- data/lib/dictionaries/class/constants.rb +16 -0
- data/lib/dictionaries/class/set_search_for_this_word.rb +163 -0
- data/lib/dictionaries/commandline/parse_commandline.rb +75 -0
- data/lib/dictionaries/constants.rb +133 -0
- data/lib/dictionaries/gui/gtk3/dictionary/dictionary.rb +457 -0
- data/lib/dictionaries/gui/tk/README.md +2 -0
- data/lib/dictionaries/gui/tk/dictionary.rb +85 -0
- data/lib/dictionaries/helper_module/helper_module.rb +60 -0
- data/lib/dictionaries/project/project.rb +36 -0
- data/lib/dictionaries/require_project/require_project.rb +14 -0
- data/lib/dictionaries/sinatra/app.rb +118 -0
- data/lib/dictionaries/sinatra/english_to_german.rb +84 -0
- data/lib/dictionaries/statistics/statistics.rb +58 -0
- data/lib/dictionaries/toplevel_methods/e.rb +16 -0
- data/lib/dictionaries/toplevel_methods/english_to_german.rb +31 -0
- data/lib/dictionaries/toplevel_methods/has_key.rb +32 -0
- data/lib/dictionaries/toplevel_methods/is_on_roebe.rb +16 -0
- data/lib/dictionaries/toplevel_methods/main_file.rb +88 -0
- data/lib/dictionaries/toplevel_methods/misc.rb +185 -0
- data/lib/dictionaries/toplevel_methods/module_methods.rb +9 -0
- data/lib/dictionaries/toplevel_methods/show_help.rb +31 -0
- data/lib/dictionaries/version/version.rb +19 -0
- data/lib/dictionaries/yaml/chinese.yml +25 -0
- data/lib/dictionaries/yaml/danish.yml +4 -0
- data/lib/dictionaries/yaml/deutsche_fremdw/303/266rter.yml +1 -0
- data/lib/dictionaries/yaml/dutch.yml +3 -0
- data/lib/dictionaries/yaml/english.yml +2661 -0
- data/lib/dictionaries/yaml/farsi.yml +8 -0
- data/lib/dictionaries/yaml/finnish.yml +2 -0
- data/lib/dictionaries/yaml/italian.yml +532 -0
- data/lib/dictionaries/yaml/japanese.yml +15 -0
- data/lib/dictionaries/yaml/norwegian.yml +26 -0
- data/lib/dictionaries/yaml/portugese.yml +41 -0
- data/lib/dictionaries/yaml/russian.yml +10 -0
- data/lib/dictionaries/yaml/spanish.yml +133 -0
- data/lib/dictionaries/yaml/swedish.yml +104 -0
- data/lib/dictionaries.rb +1 -0
- metadata +209 -0
@@ -0,0 +1,133 @@
|
|
1
|
+
# =========================================================================== #
|
2
|
+
# === SPANISH TAG
|
3
|
+
# =========================================================================== #
|
4
|
+
# x = YAML.load_file(Dictionaries.file_spanish); y= x / 4; pp y
|
5
|
+
# =========================================================================== #
|
6
|
+
# For a spanish dictionary, see this:
|
7
|
+
#
|
8
|
+
# https://www.spanishdict.com/
|
9
|
+
#
|
10
|
+
# =========================================================================== #
|
11
|
+
|
12
|
+
# =========================================================================== #
|
13
|
+
# === a tig
|
14
|
+
# =========================================================================== #
|
15
|
+
atacar: attack
|
16
|
+
|
17
|
+
# =========================================================================== #
|
18
|
+
# === b tig
|
19
|
+
# =========================================================================== #
|
20
|
+
|
21
|
+
# =========================================================================== #
|
22
|
+
# === c tig
|
23
|
+
# =========================================================================== #
|
24
|
+
campeón: champion
|
25
|
+
curioso: curious
|
26
|
+
contigo: with you
|
27
|
+
|
28
|
+
# =========================================================================== #
|
29
|
+
# === d tig
|
30
|
+
# =========================================================================== #
|
31
|
+
devuel: to return; come back
|
32
|
+
divertido: funny
|
33
|
+
despacito: slow
|
34
|
+
|
35
|
+
# =========================================================================== #
|
36
|
+
# === e tig
|
37
|
+
# =========================================================================== #
|
38
|
+
entre: dazwischen (between)
|
39
|
+
escalera: Treppenaufgang; staircase
|
40
|
+
espada: Schwert (sword)
|
41
|
+
|
42
|
+
# =========================================================================== #
|
43
|
+
# === f tig
|
44
|
+
# =========================================================================== #
|
45
|
+
|
46
|
+
# =========================================================================== #
|
47
|
+
# === h tig
|
48
|
+
# =========================================================================== #
|
49
|
+
|
50
|
+
# =========================================================================== #
|
51
|
+
# === g tig
|
52
|
+
# =========================================================================== #
|
53
|
+
gato: Katze (cat)
|
54
|
+
grite: laut rufen
|
55
|
+
|
56
|
+
# =========================================================================== #
|
57
|
+
# === i tig
|
58
|
+
# =========================================================================== #
|
59
|
+
|
60
|
+
# =========================================================================== #
|
61
|
+
# === j tig
|
62
|
+
# =========================================================================== #
|
63
|
+
|
64
|
+
# =========================================================================== #
|
65
|
+
# === k tig
|
66
|
+
# =========================================================================== #
|
67
|
+
|
68
|
+
# =========================================================================== #
|
69
|
+
# === l tig
|
70
|
+
# =========================================================================== #
|
71
|
+
|
72
|
+
# =========================================================================== #
|
73
|
+
# === m tig
|
74
|
+
# =========================================================================== #
|
75
|
+
mentira: a lie, a falsehood, an incorrect statement; "contar uma mentira" → "to tell a lie"
|
76
|
+
mascotas: pets
|
77
|
+
matar: to kill
|
78
|
+
mensaje: message
|
79
|
+
|
80
|
+
# =========================================================================== #
|
81
|
+
# === p tig
|
82
|
+
# =========================================================================== #
|
83
|
+
pata: duck
|
84
|
+
payaso: clown
|
85
|
+
poder: can, to be able to
|
86
|
+
|
87
|
+
# =========================================================================== #
|
88
|
+
# === r tig
|
89
|
+
# =========================================================================== #
|
90
|
+
retirarse: retreat
|
91
|
+
|
92
|
+
# =========================================================================== #
|
93
|
+
# === s tig
|
94
|
+
# =========================================================================== #
|
95
|
+
salir: to stop / beenden, rausgehen
|
96
|
+
|
97
|
+
# =========================================================================== #
|
98
|
+
# === t tig
|
99
|
+
# =========================================================================== #
|
100
|
+
|
101
|
+
# =========================================================================== #
|
102
|
+
# === u tig
|
103
|
+
# =========================================================================== #
|
104
|
+
|
105
|
+
# =========================================================================== #
|
106
|
+
# === v tig
|
107
|
+
# =========================================================================== #
|
108
|
+
|
109
|
+
# =========================================================================== #
|
110
|
+
# === n tig
|
111
|
+
# =========================================================================== #
|
112
|
+
|
113
|
+
# =========================================================================== #
|
114
|
+
# === q tig
|
115
|
+
# =========================================================================== #
|
116
|
+
|
117
|
+
# =========================================================================== #
|
118
|
+
# === o tig
|
119
|
+
# =========================================================================== #
|
120
|
+
ojos: Augen (eyes)
|
121
|
+
|
122
|
+
# =========================================================================== #
|
123
|
+
# === v tig
|
124
|
+
# =========================================================================== #
|
125
|
+
vacca: Kuh (cow)
|
126
|
+
|
127
|
+
# =========================================================================== #
|
128
|
+
# === w tig
|
129
|
+
# =========================================================================== #
|
130
|
+
|
131
|
+
# =========================================================================== #
|
132
|
+
# === y tig
|
133
|
+
# =========================================================================== #
|
@@ -0,0 +1,104 @@
|
|
1
|
+
# =========================================================================== #
|
2
|
+
# === swedish.yml
|
3
|
+
#
|
4
|
+
# Swedish words!
|
5
|
+
# =========================================================================== #
|
6
|
+
# https://en.bab.la/dictionary/english-swedish/
|
7
|
+
# =========================================================================== #
|
8
|
+
|
9
|
+
# ========================================================================== #
|
10
|
+
# a tig
|
11
|
+
# ========================================================================== #
|
12
|
+
|
13
|
+
# ========================================================================== #
|
14
|
+
# b tig
|
15
|
+
# ========================================================================== #
|
16
|
+
|
17
|
+
# ========================================================================== #
|
18
|
+
# c tig
|
19
|
+
# ========================================================================== #
|
20
|
+
cat: katt
|
21
|
+
|
22
|
+
# ========================================================================== #
|
23
|
+
# d tig
|
24
|
+
# ========================================================================== #
|
25
|
+
|
26
|
+
# ========================================================================== #
|
27
|
+
# e tig
|
28
|
+
# ========================================================================== #
|
29
|
+
|
30
|
+
# ========================================================================== #
|
31
|
+
# f tig
|
32
|
+
# ========================================================================== #
|
33
|
+
|
34
|
+
# ========================================================================== #
|
35
|
+
# g tig
|
36
|
+
# ========================================================================== #
|
37
|
+
|
38
|
+
# ========================================================================== #
|
39
|
+
# h tig
|
40
|
+
# ========================================================================== #
|
41
|
+
|
42
|
+
# ========================================================================== #
|
43
|
+
# i tig
|
44
|
+
# ========================================================================== #
|
45
|
+
|
46
|
+
# ========================================================================== #
|
47
|
+
# j tig
|
48
|
+
# ========================================================================== #
|
49
|
+
|
50
|
+
# ========================================================================== #
|
51
|
+
# k tig
|
52
|
+
# ========================================================================== #
|
53
|
+
|
54
|
+
# ========================================================================== #
|
55
|
+
# l tig
|
56
|
+
# ========================================================================== #
|
57
|
+
|
58
|
+
# ========================================================================== #
|
59
|
+
# m tig
|
60
|
+
# ========================================================================== #
|
61
|
+
|
62
|
+
# ========================================================================== #
|
63
|
+
# n tig
|
64
|
+
# ========================================================================== #
|
65
|
+
|
66
|
+
# ========================================================================== #
|
67
|
+
# p tig
|
68
|
+
# ========================================================================== #
|
69
|
+
|
70
|
+
# ========================================================================== #
|
71
|
+
# q tig
|
72
|
+
# ========================================================================== #
|
73
|
+
|
74
|
+
# ========================================================================== #
|
75
|
+
# r tig
|
76
|
+
# ========================================================================== #
|
77
|
+
|
78
|
+
# ========================================================================== #
|
79
|
+
# s tig
|
80
|
+
# ========================================================================== #
|
81
|
+
|
82
|
+
# ========================================================================== #
|
83
|
+
# t tig
|
84
|
+
# ========================================================================== #
|
85
|
+
|
86
|
+
# ========================================================================== #
|
87
|
+
# u tig
|
88
|
+
# ========================================================================== #
|
89
|
+
|
90
|
+
# ========================================================================== #
|
91
|
+
# v tig
|
92
|
+
# ========================================================================== #
|
93
|
+
|
94
|
+
# ========================================================================== #
|
95
|
+
# o tig
|
96
|
+
# ========================================================================== #
|
97
|
+
|
98
|
+
# ========================================================================== #
|
99
|
+
# w tig
|
100
|
+
# ========================================================================== #
|
101
|
+
|
102
|
+
# ========================================================================== #
|
103
|
+
# y tig
|
104
|
+
# ========================================================================== #
|
data/lib/dictionaries.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'dictionaries/require_project/require_project.rb'
|
metadata
ADDED
@@ -0,0 +1,209 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dictionaries
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.24
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Robert A. Heiler
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-03-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: colours
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: generate_shell_completion
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: opn
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: open
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: save_file
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: xorg_buffer
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: "\nThis project is called dictionaries.\n\nIt used to be called ask_english_words
|
98
|
+
but the name was changed towards\n\"dictionaries\", when the focus became on dictionaries
|
99
|
+
in general rather\nthan merely translations from and to the english language.\n\nThere
|
100
|
+
are a total of 2524 english words\nregistered, with the associated german translation.
|
101
|
+
(It is\ngerman primarily because that is my native language, but in\nprinciple this
|
102
|
+
project could be extended to include other\nlanguages as well. You only need to
|
103
|
+
add a yaml file containing\nthe key-value pairs.)\n\nIf you need a more comprehensive
|
104
|
+
dictionary, I can recommend\nthe file de-en.txt that is part of the tu-chemnitz
|
105
|
+
\ndistribution ( https://www-user.tu-chemnitz.de/~fri/ding/ ). That\nfile is really
|
106
|
+
huge - about 20 MB.\n\nIn principle, the dictionaries project could be extended
|
107
|
+
to \nmake use of that massive file instead. I will be thinking\nabout this for the
|
108
|
+
time being (starting at July 2018).\n\n"
|
109
|
+
email: shevy@inbox.lt
|
110
|
+
executables: []
|
111
|
+
extensions: []
|
112
|
+
extra_rdoc_files: []
|
113
|
+
files:
|
114
|
+
- README.md
|
115
|
+
- bin/dictionaries
|
116
|
+
- bin/unique_words_in_this_file
|
117
|
+
- dictionaries.gemspec
|
118
|
+
- doc/README.gen
|
119
|
+
- doc/todo/todo.md
|
120
|
+
- lib/dictionaries.rb
|
121
|
+
- lib/dictionaries/ask_english_word.rb
|
122
|
+
- lib/dictionaries/ask_italian_word.rb
|
123
|
+
- lib/dictionaries/class/ask_word_from_dictionary.rb
|
124
|
+
- lib/dictionaries/class/colours.rb
|
125
|
+
- lib/dictionaries/class/constants.rb
|
126
|
+
- lib/dictionaries/class/set_search_for_this_word.rb
|
127
|
+
- lib/dictionaries/commandline/parse_commandline.rb
|
128
|
+
- lib/dictionaries/constants.rb
|
129
|
+
- lib/dictionaries/gui/gtk3/dictionary/dictionary.rb
|
130
|
+
- lib/dictionaries/gui/tk/README.md
|
131
|
+
- lib/dictionaries/gui/tk/dictionary.rb
|
132
|
+
- lib/dictionaries/helper_module/helper_module.rb
|
133
|
+
- lib/dictionaries/project/project.rb
|
134
|
+
- lib/dictionaries/require_project/require_project.rb
|
135
|
+
- lib/dictionaries/sinatra/app.rb
|
136
|
+
- lib/dictionaries/sinatra/english_to_german.rb
|
137
|
+
- lib/dictionaries/statistics/statistics.rb
|
138
|
+
- lib/dictionaries/toplevel_methods/e.rb
|
139
|
+
- lib/dictionaries/toplevel_methods/english_to_german.rb
|
140
|
+
- lib/dictionaries/toplevel_methods/has_key.rb
|
141
|
+
- lib/dictionaries/toplevel_methods/is_on_roebe.rb
|
142
|
+
- lib/dictionaries/toplevel_methods/main_file.rb
|
143
|
+
- lib/dictionaries/toplevel_methods/misc.rb
|
144
|
+
- lib/dictionaries/toplevel_methods/module_methods.rb
|
145
|
+
- lib/dictionaries/toplevel_methods/show_help.rb
|
146
|
+
- lib/dictionaries/version/version.rb
|
147
|
+
- lib/dictionaries/yaml/chinese.yml
|
148
|
+
- lib/dictionaries/yaml/danish.yml
|
149
|
+
- lib/dictionaries/yaml/deutsche_fremdwörter.yml
|
150
|
+
- lib/dictionaries/yaml/dutch.yml
|
151
|
+
- lib/dictionaries/yaml/english.yml
|
152
|
+
- lib/dictionaries/yaml/farsi.yml
|
153
|
+
- lib/dictionaries/yaml/finnish.yml
|
154
|
+
- lib/dictionaries/yaml/italian.yml
|
155
|
+
- lib/dictionaries/yaml/japanese.yml
|
156
|
+
- lib/dictionaries/yaml/norwegian.yml
|
157
|
+
- lib/dictionaries/yaml/portugese.yml
|
158
|
+
- lib/dictionaries/yaml/russian.yml
|
159
|
+
- lib/dictionaries/yaml/spanish.yml
|
160
|
+
- lib/dictionaries/yaml/swedish.yml
|
161
|
+
homepage: https://www.rubydoc.info/gems/dictionaries/
|
162
|
+
licenses:
|
163
|
+
- MIT
|
164
|
+
metadata: {}
|
165
|
+
post_install_message: |2+
|
166
|
+
|
167
|
+
This project can ask or translate english or italian words (or words
|
168
|
+
from any other language, as long as a .yml file is supplied that
|
169
|
+
contains these key-value pair entries).
|
170
|
+
|
171
|
+
This project is probably not very useful for other people, but it helps
|
172
|
+
me to improve my knowledge about the english or italian language or
|
173
|
+
any other language.
|
174
|
+
|
175
|
+
For more information, have a look at the main README.md file, which
|
176
|
+
can also be found on the hompage of this gem at rubygems.org, on
|
177
|
+
the bottom right side (see https://www.rubydoc.info/gems/dictionaries/ ).
|
178
|
+
|
179
|
+
rdoc_options: []
|
180
|
+
require_paths:
|
181
|
+
- lib
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 2.7.6
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: 3.4.8
|
192
|
+
requirements: []
|
193
|
+
rubygems_version: 3.4.8
|
194
|
+
signing_key:
|
195
|
+
specification_version: 4
|
196
|
+
summary: This project is called dictionaries. It used to be called ask_english_words
|
197
|
+
but the name was changed towards "dictionaries", when the focus became on dictionaries
|
198
|
+
in general rather than merely translations from and to the english language. There
|
199
|
+
are a total of 2524 english words registered, with the associated german translation.
|
200
|
+
(It is german primarily because that is my native language, but in principle this
|
201
|
+
project could be extended to include other languages as well. You only need to add
|
202
|
+
a yaml file containing the key-value pairs.) If you need a more comprehensive dictionary,
|
203
|
+
I can recommend the file de-en.txt that is part of the tu-chemnitz distribution
|
204
|
+
( https://www-user.tu-chemnitz.de/~fri/ding/ ). That file is really huge - about
|
205
|
+
20 MB. In principle, the dictionaries project could be extended to make use of
|
206
|
+
that massive file instead. I will be thinking about this for the time being (starting
|
207
|
+
at July 2018).
|
208
|
+
test_files: []
|
209
|
+
...
|