BequestDeCendresWordGenerator 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a4503b01ed81d4546f8522d8dce88b7be0c58b26c094e6793edd19537154ca0
4
- data.tar.gz: 3737d7fe3976afc9ae6b331f9b05afd0d1e1139d1ba9f5a686fe4b1d954a1b04
3
+ metadata.gz: 00e78b3d333c49f0e342e4de636478c591f5fef530f7f7982946f0cd30cddcf8
4
+ data.tar.gz: 41abfbfb31b36ba0ffac7de2ff0e77410ee8ffe296f3ad74fcb4141691caf0a0
5
5
  SHA512:
6
- metadata.gz: c93ced8e25eacce497bee6103f5ca2ae25f57026d75b33e65f5a06309f14fb0d25c13575c5f3d127b45a36a0cdd36f48b91ff1b54829b9311407f373c20e2f32
7
- data.tar.gz: 947ef5a8d4cfd6f0933859a4e774b6b95635c905e4c5c1eac8a4a7fc7fb5578489e1ea541b124a3c44765ca80a8c9375b8433b0421b4cc8996d57d2f40d82447
6
+ metadata.gz: 7913ac0e7ed3a1ebf37a0b0f64e3d0c6d9c383f3b6b79c0591fbebab74954320c7dd2651ec6f77a112a3d06d07fd7d6d8df3e0c1cc5ad46df43196eacbc7795f
7
+ data.tar.gz: aebc59554ed15eb8bb7f2738338c8edf31118214bda340d0d213fc8525a2a0877ee9c09b39064ac1015e9f4b64d6b7efbd0a285b821a1b36e72822d532107a00
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BequestDeCendresWordGenerator
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -7,107 +7,7 @@ module BequestDeCendresWordGenerator
7
7
 
8
8
  class GeneratePortManteau
9
9
  def self.current_location
10
- hybrid_genders = [
11
- [["Te", "Te"], ["Te", "Ta"], ["Te", "Tos"]],
12
- [["Ta" , "Te"], ["Ta", "Ta"], ["Ta", "Tos"]],
13
- [["Tos", "Te"], ["Tos", "Ta"], ["Tos", "Tos"]],
14
- ]
15
-
16
- gender_row_options = [0, 1, 2]
17
- gender_col_options = [0, 1, 2]
18
- gender_arr_options = [0, 1]
19
-
20
- gender_cur_row = gender_row_options.sample
21
- gender_cur_col = gender_col_options.sample
22
- gender_cur_arr = gender_arr_options.sample
23
-
24
- h_gender = hybrid_genders[gender_cur_row][gender_cur_col][gender_cur_arr]
25
-
26
- # ie shado gareji ribingurumu roka daidakoro shinku aisubokkusu uindo basurumu shinshitsu
27
- # ie i,i i,s1 i,g i,r1 i,r2 i,d i,s2 i,a i,u i.b i,s3 # House
28
- # shado s1,i s1,s1 s1,g s1,r1 s1,r2 s1,d s1,s2 s1,a s1,u s1.b s1,s3 # Slope
29
- # gareji g,i g,s1 g,g g,r1 g,r2 g,d g,s2 g,a g,u g.b g,s3 # Garage
30
- # ribingurumu r1,i r1,s1 r1,g r1,r1 r1,r2 r1,d r1,s2 r1,a r1,u r1.b r1,s3 # Living Room
31
- # roka g,i g,s1 g,g g,r1 g,r2 g,d g,s g,a g,u g.b g,s3 # Fridge
32
- # daidakoro d,i d,s1 d,g d,r1 d,r2 d,d d,s d,a d,u d.b d,s3 # The first time
33
- # shinku s2,i s2,s1 s2,g s2,r1 s2,r2 s2,d s2,s s2,a s2,u s2.b s2,s3 # Sink
34
- # aisubokkusu a,i a,s1 a,g a,r1 a,r2 a,d a,s a,a a,u a.b a,s2 # Ice Box
35
- # uindo u,i u,s1 u,g u,r1 u,r2 u,d u,s u,a u,u u.b u,s2 # Window
36
- # basurumu b,i b,s1 b,g b,r1 b,r2 b,d b,s b,a b,u b.b b,s2 # Bathroom
37
- # shinshitsu s3,i s3,s1 s3,g s3,r1 s3,r2 s3,d s3,s s3,a s3,u s3.b s3,s2 # Bedroom
38
-
39
- locations = [
40
- [["Ie", "Ie"], ["Ie", "Shado"], ["Ie", "Gareji"], ["Ie", "Ribingurumu"], ["Ie", "Roka"], ["Ie", "Daidakoro"], ["Ie", "Shinku"], ["Ie", "Aisubokkusu"], ["Ie", "Uindo"], ["Ie", "Basurumu"], ["Ie", "Shinshitsu"]],
41
- [["Shadi" , "Ie"], ["Shado", "Shado"], ["Shado", "Gareji"], ["Shado", "Ribingurumu"], ["Shado" , "Roka"], ["Shado", "Daidakoro"], ["Shado", "Shinku"], ["Shado", "Aisubokkusu"], ["Shado", "Uindo"], ["Shado", "Basurumu"], ["Shado", "Shinshitsu"]],
42
- [["Gareji", "Ie"], ["Gareji", "Shado"], ["Gareji", "Gareji"], ["Gareji", "Ribingurumu"], ["Gareji", "Roka"], ["Gareji", "Daidakoro"], ["Gareji", "Shinku"], ["Gareji", "Aisubokkusu"], ["Garehi", "Uindo"], ["Gareji", "Basurumu"], ["Shadow", "Shinshitsu"]],
43
- [["Ribingurumu", "Ie"], ["Ribingurumu", "Shado"], ["Ribingurumu", "Gareji"], ["Ribingurumu", "Ribingurumu"], ["Ribingurumu", "Roka"], ["Ribingurumu", "Daidakoro"], ["Ribingurumu", "Shinku"], ["Ribingurumu", "Aisubokkusu"], ["Ribingurumu", "Uindo"], ["Ribingurumu", "Basurumu"], ["Ribingurumu", "Shinshitsu"]],
44
- [["Roka", "Ie"], ["Roka", "Shado"], ["Roka", "Gareji"], ["Roka", "Ribingurumu"], ["Roka", "Roka"], ["Roka", "Daidakoro"], ["Roka", "Shinku"], ["Roka", "Aisubokkusu"], ["Roka", "Uindo"], ["Roka", "Basurumu"], ["Roka", "Shinshitsu"]],
45
- [["Daidakoro", "Ie"], ["Daidakoro", "Shado"], ["Daidakoro", "Gareji"], ["Daidakoro", "Ribingurumu"], ["Daidakoro", "Roka"], ["Daidakoro", "Daidakoro"], ["Daidakoro", "Shinku"], ["Daidakoro", "Aisubokkusu"], ["Daidakoro", "Uindo"], ["Daidakoro", "Basurumu"], ["Daidakoro", "Shinshitsu"]],
46
- [["Shinku", "Ie"], ["Shinku", "Shado"], ["Shinku", "Gareji"], ["Shinku", "Ribingurumu"], ["Shinku", "Roka"], ["Shinku", "Daidakoro"], ["Shinku", "Shinku"], ["Shinku", "Aisubokkusu"], ["Shinku", "Uindo"], ["Shinku", "Basurumu"], ["Shinku", "Shinshitsu"]],
47
- [["aisubokkusu", "Ie"], ["Aisubokkusu", "Shado"], ["Aisubokkusu", "Gareji"], ["Aisubokkusu", "Ribingurumu"], ["Aisubokkusu", "Roka"], ["Aisubokkusu", "Daidakoro"], ["Aisubokkusu", "Shinku"], ["Aisubokkusu", "Aisubokkusu"], ["Aisubokkusu", "Uindo"], ["Aisubokkusu", "Basurumu"], ["Aisubokkusu", "Shinshitsu"]],
48
- [["Uindo", "Ie"], ["Uindo", "Shado"], ["Uindo", "Gareji"], ["Uindo" , "Ribingurumu"], ["Uindo", "Roka"], ["Uindo", "Daidakoro"], ["Uindo", "Shinku"], ["Uindo", "Aisubokkusu"], ["Uindo", "Uindo"], ["Uindo", "Basurumu"], ["Uindo", "Shinshitsu"]],
49
- [["Basurumu", "Ie"], ["Basurumu", "Shado"], ["Basurumu", "Gareji"], ["Basurumu", "Ribingurumu"], ["Basurumu", "Roka"], ["Basurumu", "Daidakoro"], ["Basurumu", "Shinku"], ["Basurumu", "Aisubokkusu"], ["Basurumu", "Uindo"], ["Basurumu", "Basurumu"], ["Basurumu", "Shinshitsu"]],
50
- [["Shinshitsu", "Ie"], ["Shinsitsu", "Shado"], ["Shinsitsu", "Gareji"], ["Shinshitsu", "Ribingurumu"], ["Shinshitsu", "Roka"], ["Shinshitsu", "Daidakoro"], ["Shinshitsu", "Shinku"], ["Shinshitsu", "Aisubokkusu"], ["Shinshitsu", "Uindo"], ["Shinshitsu", "Basurumu"], ["Shinshitsu", "Shinshitsu"]],
51
- ]
52
-
53
- location_row_options = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
54
- location_col_options = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
55
- location_arr_options = [0, 1]
56
-
57
- l_cur_row = location_row_options.sample
58
- l_cur_col = location_col_options.sample
59
- l_cur_arr = location_arr_options.sample
60
-
61
- @cur_location = locations[l_cur_row][l_cur_col][l_cur_arr]
62
- end
63
-
64
- def self.current_verb
65
- # guache entre sortie porte canape pratiquer manger lave merde dorm mur
66
- # guache g,g g,e g,s g,p g,c g,p g,m1 g,l g,m2 g,d g,m3 # Gouache paint
67
- # entre e,g e,e e,s e,p e,c e,p e,m1 e,l e,m2 e,d e,m3 # Between
68
- # sortie s,g s,e s,s s,p s,c s,p s,m1 s,l s,m2 s,d s,m3 # Exit
69
- # porte p,g p,e p,s p,p p,c p,p p,m1 p,l p,m2 p,d p,m3 # Door
70
- # canape c,g c,e c,s c,p c,c c,p c,m1 c,l c,m2 c,d c,m3 # Couch
71
- # pratiquer p,g p,e p,s p,p p,c p,p p,m1 p,l p,m2 p,d p,m3 # Practice
72
- # manger m1,g m1,e m1,s m1,p m1,c m1,p m1,m1 m1,l m1,m2 m1,d m1,m3 # To Eat
73
- # lave l,g l,e l,s l,p l,c l,p l,m1 l,l l,m2 l,d l,m3 # Washed / Wash
74
- # merde m2,g m2,e m2,s m2,p m2,c m2,p m2,m1 m2,l m2,m2 m2,d m2,m3 # Shit / Poo ( informal )
75
- # dorm d,g d,e d,s d,p d,c d,p d,m1 d,l d,m2 d,d d,m3 # Sleep
76
- # mur m3,g m3,e m3,s m3,p m3,c m3,p m3,m1 m3,l m3,m m3,d m3,m2 # Wall
77
-
78
- #begin
79
-
80
- verbs = [
81
- [["gouache", "gouache"], ["gouache", "entre"], ["gouache", "sortie"], ["gouache", "porte"], ["gouache", "canape"], ["gouache", "pratiquer"], ["gouache", "manger"], ["gouache", "laver"], ["gouache", "merde"], ["gouache", "dorm"], ["gouache", "mur"]],
82
- [["entre", "gouache"], ["entre", "entre"], ["entre", "sortie"], ["entre", "porte"], ["entre", "canape"], ["entre", "pratiquer"], ["entre", "manger"], ["entre", "laver"], ["entre", "merde"], ["entre", "dorm"], ["entre", "mur"]],
83
- [["sortie", "gouache"], ["sortie", "entre"], ["sortie", "sortie"], ["sortie", "porte"], ["sortie", "canape"], ["sortie", "pratiquer"], ["sortie", "manger"], ["sortie", "laver"], ["sortie", "merde"], ["sortie", "dorm"], ["sortie", "mur"]],
84
- [["porte", "gouache"], ["porte", "entre"], ["porte", "sortie"], ["porte", "porte"], ["porte", "canape"], ["porte", "pratiquer"], ["porte", "manger"], ["porte", "laver"], ["porte", "merde"], ["porte", "dorm"], ["prte", "mur"]],
85
- [["canape", "gouache"], ["canape", "entre"], ["canape", "sortie"], ["canape", "porte"], ["canape", "canape"], ["canape", "pratiquer"], ["canape", "manger"], ["canape", "laver"], ["canape", "merde"], ["canape", "dorm"], ["canape", "mur"]],
86
- [["pratiquer", "gouache"], ["pratiquer", "entre"], ["pratiquer", "sortie"], ["pratiquer", "porte"], ["pratiquer", "canape"], ["pratiquer", "pratiquer"], ["pratiquer", "manger"], ["pratiquer", "laver"], ["pratiquer", "merde"], ["pratiquer", "dorm"], ["pratiquer", "mur"]],
87
- [["manger", "gouache"], ["manger", "entre"], ["manger", "sortie"], ["manger", "porte"], ["manger", "canape"], ["manger", "pratiquer"], ["manger", "manger"], ["manger", "laver"], ["manger", "merde"], ["manger", "dorm"], ["manger", "mur"]],
88
- [["laver", "gouache"], ["laver", "entre"], ["laver", "sortie"], ["laver", "porte"], ["laver", "canape"], ["laver", "pratiquer"], ["laver", "manger"], ["laver", "laver"], ["laver", "merde"], ["laver", "dorm"], ["laver", "mur"]],
89
- [["merde", "gouache"], ["merde", "entre"], ["merde" , "sortie"], ["merde", "porte"], ["merde", "canape"], ["merde", "pratiquer"], ["merde", "manger"], ["merde", "laver"], ["merde", "merde"], ["merde", "dorm"], ["merde", "mur"]],
90
- [["dorm", "gouache"], ["dorm", "entre"], ["dorm", "sortie"], ["dorm", "porte"], ["dorm", "canape"], ["dorm", "pratiquer"], ["dorm", "manger"], ["dorm", "laver"], ["dorm", "merde"], ["dorm", "dorm"], ["dorm", "mur"]],
91
- [["mur", "gouache"], ["mur", "entre"], ["mur", "sortie"], ["mur", "porte"], ["mur", "canape"], ["mur", "pratiquer"], ["mur", "manger"], ["mur", "laver"], ["mur", "merde"], ["mur", "dorm"], ["mur", "mur"]],
92
- ]
93
-
94
- verb_row_options = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
95
- verb_col_options = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
96
- verb_arr_options = [0, 1]
97
-
98
- v_cur_row = verb_row_options.sample
99
- v_cur_col = verb_row_options.sample
100
- v_cur_arr = verb_arr_options.sample
101
-
102
- @cur_verb = verbs[v_cur_row][v_cur_col][v_cur_arr]
103
- end
104
-
105
- def self.omeleisetango
106
- @current_word = "#{@cur_location.downcase.reverse}#{@cur_verb}"
107
-
108
- File.open("lib/language/omeleisetango.txt", "a") { |f|
109
- f.puts @current_word
110
- }
10
+ puts "Really fast Snakes Reel in the ground with Salt. Larry the railroad guy Like hotdog with Salt and ketchup. Relish and jam. Larry also likes Popcorn with Tomato paste and Tomales. Deryl on the other hand Slices pepperoni with Strawberry jam. Likes them toasted. Strawberry jam Likes being toasted with Raspberry jam. Delish. Latelly Raspberry prefers being Toasted with Doughnuts."
111
11
  end
112
12
  end
113
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BequestDeCendresWordGenerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LWFlouisa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-09 00:00:00.000000000 Z
11
+ date: 2025-08-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: As part of the library for Bequest De Cendres language generation features,
14
14
  one of these is based on creating port manteau. And folding words over on themself.