dictionaries 0.2.177

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.

Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +103 -0
  3. data/bin/dictionaries +7 -0
  4. data/dictionaries.gemspec +85 -0
  5. data/doc/README.gen +86 -0
  6. data/lib/dictionaries.rb +1 -0
  7. data/lib/dictionaries/ask_english_word.rb +135 -0
  8. data/lib/dictionaries/ask_italian_word.rb +84 -0
  9. data/lib/dictionaries/class/ask_word_from_dictionary.rb +672 -0
  10. data/lib/dictionaries/class/colours.rb +55 -0
  11. data/lib/dictionaries/class/set_search_for_this_word.rb +143 -0
  12. data/lib/dictionaries/commandline/parse_commandline.rb +60 -0
  13. data/lib/dictionaries/constants.rb +133 -0
  14. data/lib/dictionaries/gui/gtk/dictionary.rb +216 -0
  15. data/lib/dictionaries/gui/tk/README.md +2 -0
  16. data/lib/dictionaries/gui/tk/dictionary.rb +85 -0
  17. data/lib/dictionaries/project/project_base_directory.rb +22 -0
  18. data/lib/dictionaries/project/project_yaml_directory.rb +23 -0
  19. data/lib/dictionaries/require_project/require_project.rb +10 -0
  20. data/lib/dictionaries/sinatra/app.rb +93 -0
  21. data/lib/dictionaries/sinatra/english_to_german.rb +81 -0
  22. data/lib/dictionaries/toplevel_methods/e.rb +16 -0
  23. data/lib/dictionaries/toplevel_methods/english_to_german.rb +31 -0
  24. data/lib/dictionaries/toplevel_methods/has_key.rb +32 -0
  25. data/lib/dictionaries/toplevel_methods/is_on_roebe.rb +16 -0
  26. data/lib/dictionaries/toplevel_methods/main_file.rb +88 -0
  27. data/lib/dictionaries/toplevel_methods/misc.rb +42 -0
  28. data/lib/dictionaries/toplevel_methods/module_methods.rb +9 -0
  29. data/lib/dictionaries/toplevel_methods/show_help.rb +30 -0
  30. data/lib/dictionaries/version/version.rb +17 -0
  31. data/lib/dictionaries/yaml/chinese.yml +19 -0
  32. data/lib/dictionaries/yaml/danish.yml +4 -0
  33. data/lib/dictionaries/yaml/deutsche_fremdwoerter.yml +1 -0
  34. data/lib/dictionaries/yaml/dutch.yml +3 -0
  35. data/lib/dictionaries/yaml/english.yml +2247 -0
  36. data/lib/dictionaries/yaml/farsi.yml +8 -0
  37. data/lib/dictionaries/yaml/finnish.yml +2 -0
  38. data/lib/dictionaries/yaml/italian.yml +499 -0
  39. data/lib/dictionaries/yaml/japanese.yml +15 -0
  40. data/lib/dictionaries/yaml/portugese.yml +42 -0
  41. data/lib/dictionaries/yaml/russian.yml +10 -0
  42. data/lib/dictionaries/yaml/spanish.yml +126 -0
  43. data/lib/dictionaries/yaml/swedish.yml +113 -0
  44. metadata +204 -0
@@ -0,0 +1,15 @@
1
+ # =========================================================================== #
2
+ # JAPANESE TAG
3
+ # =========================================================================== #
4
+ # x = YAML.load_file(Dictionaries.file_japanese); y= x / 4; pp y
5
+ # =========================================================================== #
6
+
7
+ # =========================================================================== #
8
+ # === g tig
9
+ # =========================================================================== #
10
+ gaijin: foreigner
11
+ genki: health
12
+
13
+
14
+ # ana-dorei desu
15
+ # nan da yo
@@ -0,0 +1,42 @@
1
+ # =========================================================================== #
2
+ # === b tig
3
+ # =========================================================================== #
4
+ bebe merda: drink shit
5
+ bom dia: good morning
6
+
7
+ # =========================================================================== #
8
+ # === c tig
9
+ # =========================================================================== #
10
+ claque: Fans
11
+
12
+ # =========================================================================== #
13
+ # === d tig
14
+ # =========================================================================== #
15
+ dono da casa: der Hausherr
16
+ desenvolvedores: developers
17
+
18
+ # =========================================================================== #
19
+ # === f tig
20
+ # =========================================================================== #
21
+ fibra de vidro: Glasfaser
22
+
23
+ # =========================================================================== #
24
+ # === p tig
25
+ # =========================================================================== #
26
+ propina: Studiengebühr, Aufnahmegebühr; study fee
27
+
28
+
29
+ # =========================================================================== #
30
+ # === v tig
31
+ # =========================================================================== #
32
+ va' se foder: Go fuck yourself
33
+
34
+
35
+ vai te foder: fuck you
36
+ "bom" means 'good' as opposite to 'bad'
37
+ muito bem: "very well" :)
38
+ # "muito bem, você fez um bom trabalho"
39
+ opa: I'm here
40
+ # falando português muito bem
41
+ # essas são as pessoas que fazem parte da comunidade do
42
+ # nosso site. seja você mais um dos nossos, visite nosso site!
@@ -0,0 +1,10 @@
1
+
2
+ # k tig
3
+ Katze: ко́шка
4
+
5
+ # p tig
6
+ schlecht: ploha (nnoxo) # es geht mir schlecht
7
+
8
+
9
+ # h tig:
10
+ Hund: Пёс
@@ -0,0 +1,126 @@
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
+ # http://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
+
27
+ # =========================================================================== #
28
+ # d tig
29
+ # =========================================================================== #
30
+ devuel: to return; come back
31
+ divertido: funny
32
+ despacito: slow
33
+
34
+ # =========================================================================== #
35
+ # e tig
36
+ # =========================================================================== #
37
+ entre: between
38
+
39
+ # =========================================================================== #
40
+ # f tig
41
+ # =========================================================================== #
42
+
43
+ # =========================================================================== #
44
+ # h tig
45
+ # =========================================================================== #
46
+
47
+ # =========================================================================== #
48
+ # g tig
49
+ # =========================================================================== #
50
+ gato: cat / Katze
51
+ grite: laut rufen
52
+
53
+ # =========================================================================== #
54
+ # i tig
55
+ # =========================================================================== #
56
+
57
+ # =========================================================================== #
58
+ # j tig
59
+ # =========================================================================== #
60
+
61
+ # =========================================================================== #
62
+ # k tig
63
+ # =========================================================================== #
64
+
65
+ # =========================================================================== #
66
+ # l tig
67
+ # =========================================================================== #
68
+
69
+ # =========================================================================== #
70
+ # m tig
71
+ # =========================================================================== #
72
+ mascotas: pets
73
+ matar: to kill
74
+ mensaje: message
75
+
76
+ # =========================================================================== #
77
+ # p tig
78
+ # =========================================================================== #
79
+ payaso: clown
80
+
81
+ # =========================================================================== #
82
+ # r tig
83
+ # =========================================================================== #
84
+ retirarse: retreat
85
+
86
+ # =========================================================================== #
87
+ # s tig
88
+ # =========================================================================== #
89
+ salir: to stop / beenden, rausgehen
90
+
91
+ # =========================================================================== #
92
+ # t tig
93
+ # =========================================================================== #
94
+
95
+ # =========================================================================== #
96
+ # u tig
97
+ # =========================================================================== #
98
+
99
+ # =========================================================================== #
100
+ # v tig
101
+ # =========================================================================== #
102
+
103
+ # =========================================================================== #
104
+ # n tig
105
+ # =========================================================================== #
106
+
107
+ # =========================================================================== #
108
+ # q tig
109
+ # =========================================================================== #
110
+
111
+ # =========================================================================== #
112
+ # o tig
113
+ # =========================================================================== #
114
+
115
+ # =========================================================================== #
116
+ # v tig
117
+ # =========================================================================== #
118
+ vacca: Kuh
119
+
120
+ # =========================================================================== #
121
+ # w tig
122
+ # =========================================================================== #
123
+
124
+ # =========================================================================== #
125
+ # y tig
126
+ # =========================================================================== #
@@ -0,0 +1,113 @@
1
+ # =========================================================================== #
2
+ # Swedish words!
3
+ # =========================================================================== #
4
+
5
+ # ========================================================================== #
6
+ # a tig
7
+ # ========================================================================== #
8
+
9
+ # ========================================================================== #
10
+ # b tig
11
+ # ========================================================================== #
12
+
13
+ # ========================================================================== #
14
+ # c tig
15
+ # ========================================================================== #
16
+
17
+
18
+ # ========================================================================== #
19
+ # d tig
20
+ # ========================================================================== #
21
+
22
+
23
+ # ========================================================================== #
24
+ # e tig
25
+ # ========================================================================== #
26
+
27
+
28
+ # ========================================================================== #
29
+ # f tig
30
+ # ========================================================================== #
31
+
32
+
33
+ # ========================================================================== #
34
+ # g tig
35
+ # ========================================================================== #
36
+
37
+
38
+ # ========================================================================== #
39
+ # h tig
40
+ # ========================================================================== #
41
+
42
+ # ========================================================================== #
43
+ # i tig
44
+ # ========================================================================== #
45
+
46
+
47
+ # ========================================================================== #
48
+ # j tig
49
+ # ========================================================================== #
50
+
51
+
52
+ # ========================================================================== #
53
+ # k tig
54
+ # ========================================================================== #
55
+
56
+ # ========================================================================== #
57
+ # l tig
58
+ # ========================================================================== #
59
+
60
+
61
+ # ========================================================================== #
62
+ # m tig
63
+ # ========================================================================== #
64
+
65
+
66
+ # ========================================================================== #
67
+ # n tig
68
+ # ========================================================================== #
69
+
70
+ # ========================================================================== #
71
+ # p tig
72
+ # ========================================================================== #
73
+
74
+
75
+ # ========================================================================== #
76
+ # q tig
77
+ # ========================================================================== #
78
+
79
+ # ========================================================================== #
80
+ # r tig
81
+ # ========================================================================== #
82
+
83
+
84
+ # ========================================================================== #
85
+ # s tig
86
+ # ========================================================================== #
87
+
88
+ # ========================================================================== #
89
+ # t tig
90
+ # ========================================================================== #
91
+
92
+
93
+ # ========================================================================== #
94
+ # u tig
95
+ # ========================================================================== #
96
+
97
+
98
+ # ========================================================================== #
99
+ # v tig
100
+ # ========================================================================== #
101
+
102
+ # ========================================================================== #
103
+ # o tig
104
+ # ========================================================================== #
105
+
106
+
107
+ # ========================================================================== #
108
+ # w tig
109
+ # ========================================================================== #
110
+
111
+ # ========================================================================== #
112
+ # y tig
113
+ # ========================================================================== #
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dictionaries
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.177
5
+ platform: ruby
6
+ authors:
7
+ - Robert A. Heiler
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-19 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_in_browser
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 2114 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 can be extended to include other\nlanguages. You only need to add a yaml
103
+ file containing the\nkey-value pairs.)\n\nIf you need a more comprehensive dictionary,
104
+ I can recommend\nthe file de-en.txt that is part of the tu-chemnitz \ndistribution
105
+ ( https://www-user.tu-chemnitz.de/~fri/ding/ ). That\nfile is really huge - about
106
+ 20 MB.\n\nIn principle, the dictionaries project could be extended to \nmake use
107
+ of that massive file instead. I will be thinking\nabout this for the time being
108
+ (starting at July 2018).\n\n"
109
+ email: shevegen@gmail.com
110
+ executables: []
111
+ extensions: []
112
+ extra_rdoc_files: []
113
+ files:
114
+ - README.md
115
+ - bin/dictionaries
116
+ - dictionaries.gemspec
117
+ - doc/README.gen
118
+ - lib/dictionaries.rb
119
+ - lib/dictionaries/ask_english_word.rb
120
+ - lib/dictionaries/ask_italian_word.rb
121
+ - lib/dictionaries/class/ask_word_from_dictionary.rb
122
+ - lib/dictionaries/class/colours.rb
123
+ - lib/dictionaries/class/set_search_for_this_word.rb
124
+ - lib/dictionaries/commandline/parse_commandline.rb
125
+ - lib/dictionaries/constants.rb
126
+ - lib/dictionaries/gui/gtk/dictionary.rb
127
+ - lib/dictionaries/gui/tk/README.md
128
+ - lib/dictionaries/gui/tk/dictionary.rb
129
+ - lib/dictionaries/project/project_base_directory.rb
130
+ - lib/dictionaries/project/project_yaml_directory.rb
131
+ - lib/dictionaries/require_project/require_project.rb
132
+ - lib/dictionaries/sinatra/app.rb
133
+ - lib/dictionaries/sinatra/english_to_german.rb
134
+ - lib/dictionaries/toplevel_methods/e.rb
135
+ - lib/dictionaries/toplevel_methods/english_to_german.rb
136
+ - lib/dictionaries/toplevel_methods/has_key.rb
137
+ - lib/dictionaries/toplevel_methods/is_on_roebe.rb
138
+ - lib/dictionaries/toplevel_methods/main_file.rb
139
+ - lib/dictionaries/toplevel_methods/misc.rb
140
+ - lib/dictionaries/toplevel_methods/module_methods.rb
141
+ - lib/dictionaries/toplevel_methods/show_help.rb
142
+ - lib/dictionaries/version/version.rb
143
+ - lib/dictionaries/yaml/chinese.yml
144
+ - lib/dictionaries/yaml/danish.yml
145
+ - lib/dictionaries/yaml/deutsche_fremdwoerter.yml
146
+ - lib/dictionaries/yaml/dutch.yml
147
+ - lib/dictionaries/yaml/english.yml
148
+ - lib/dictionaries/yaml/farsi.yml
149
+ - lib/dictionaries/yaml/finnish.yml
150
+ - lib/dictionaries/yaml/italian.yml
151
+ - lib/dictionaries/yaml/japanese.yml
152
+ - lib/dictionaries/yaml/portugese.yml
153
+ - lib/dictionaries/yaml/russian.yml
154
+ - lib/dictionaries/yaml/spanish.yml
155
+ - lib/dictionaries/yaml/swedish.yml
156
+ homepage: https://www.rubydoc.info/gems/dictionaries/
157
+ licenses:
158
+ - MIT
159
+ metadata: {}
160
+ post_install_message: |2+
161
+
162
+ This project can ask or translate english or italian words (or words
163
+ from any other language, as long as a .yml file is supplied that
164
+ contains these key-value pair entries).
165
+
166
+ This project is probably not very useful for other people, but it helps
167
+ me to improve my knowledge about the english or italian language or
168
+ any other language.
169
+
170
+ For more information, have a look at the main README.md file, which
171
+ can also be found on the hompage of this gem at rubygems.org, on
172
+ the bottom right side (see http://www.rubydoc.info/gems/dictionaries/ ).
173
+
174
+ rdoc_options: []
175
+ require_paths:
176
+ - lib
177
+ required_ruby_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: 2.7.1
182
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 3.1.2
187
+ requirements: []
188
+ rubygems_version: 3.1.2
189
+ signing_key:
190
+ specification_version: 4
191
+ summary: This project is called dictionaries. It used to be called ask_english_words
192
+ but the name was changed towards "dictionaries", when the focus became on dictionaries
193
+ in general rather than merely translations from and to the english language. There
194
+ are a total of 2114 english words registered, with the associated german translation.
195
+ (It is german primarily because that is my native language, but in principle this
196
+ project can be extended to include other languages. You only need to add a yaml
197
+ file containing the key-value pairs.) If you need a more comprehensive dictionary,
198
+ I can recommend the file de-en.txt that is part of the tu-chemnitz distribution
199
+ ( https://www-user.tu-chemnitz.de/~fri/ding/ ). That file is really huge - about
200
+ 20 MB. In principle, the dictionaries project could be extended to make use of
201
+ that massive file instead. I will be thinking about this for the time being (starting
202
+ at July 2018).
203
+ test_files: []
204
+ ...