alig 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +9 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/README.md +69 -0
- data/Rakefile +7 -0
- data/alig.gemspec +25 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/alig.rb +720 -0
- data/lib/alig/version.rb +3 -0
- metadata +110 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NzVhNmFmNTlmNmVkMWZkMmU2YTUxZTI0Zjc3OTBhOWFlMDQzNWQ2OA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YWQ1YTg1NmZkMzdiMzAyYzYwZWYyODNhZDBmMTdlM2JiN2NkZDM3MA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NmE0ZTFjYjIzY2E5MjFjMDBhYzg3MWFkMmMwODk2NTdkNDU4OTY5N2NlZDQx
|
10
|
+
MzhlZGYxZjIxZTRhZTllZjFjYWRlYTJhOWEzMjRmY2ZmOWNhY2ZkZGFkNTc4
|
11
|
+
MjQ2ODE0MzQ1Y2IxOWI4MzM4YjYxYjI3NzE4NzRhZDFiYzJmZDI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YjIzNGIzNjE3YjkwMDAxZWVkZjllNzU0OTc5MzQ3Zjc2ZWYyNGRmZDIxYTkz
|
14
|
+
ZTlmYzc1Y2I2OTdkNzdkYWE4MjZlYzdmYmFmZmE3MDAyODJlYTk5NDM3NzY0
|
15
|
+
ZWJhODllNjE2MzA1NDBkM2E5MDllNzU1ODM0MWYwZTgzNjA2ZGU=
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/alig.svg)](https://badge.fury.io/rb/alig)
|
3
|
+
[![Build Status](https://travis-ci.org/oystersauce8/alig.svg?branch=master)](https://travis-ci.org/oystersauce8/check_tfn)
|
4
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/oystersauce8/alig.svg)](https://gemnasium.com/github.com/oystersauce8/alig)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/oystersauce8/alig/badges/gpa.svg)](https://codeclimate.com/github/oystersauce8/alig)
|
6
|
+
[![Coverage Status](https://coveralls.io/repos/github/oystersauce8/alig/badge.svg?branch=master)](https://coveralls.io/github/oystersauce8/alig?branch=master)
|
7
|
+
|
8
|
+
|
9
|
+
# Alig
|
10
|
+
|
11
|
+
This guy is funny - Ali G went to the UN and while with the guide he saw the Jordan seat and was like "listen, I know he is probably the best basketball player ever but does he really deserve his own UN seat?"
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
Add this line to your application's Gemfile:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
gem 'alig'
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install alig
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
|
33
|
+
Alig.translate("hello") #=> "allo"
|
34
|
+
|
35
|
+
```
|
36
|
+
|
37
|
+
## Development
|
38
|
+
|
39
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
40
|
+
|
41
|
+
## Contributing
|
42
|
+
|
43
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/oystersauce8/alig.
|
44
|
+
|
45
|
+
|
46
|
+
## License
|
47
|
+
|
48
|
+
(The MIT License)
|
49
|
+
|
50
|
+
Copyright (c) 2009-2016 Sam Weerasinghe
|
51
|
+
|
52
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
53
|
+
a copy of this software and associated documentation files (the
|
54
|
+
'Software'), to deal in the Software without restriction, including
|
55
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
56
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
57
|
+
permit persons to whom the Software is furnished to do so, subject to
|
58
|
+
the following conditions:
|
59
|
+
|
60
|
+
The above copyright notice and this permission notice shall be
|
61
|
+
included in all copies or substantial portions of the Software.
|
62
|
+
|
63
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
64
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
65
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
66
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
67
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
68
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
69
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
data/alig.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'alig/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "alig"
|
8
|
+
spec.version = Alig::VERSION
|
9
|
+
spec.authors = ["Sam Weerasinghe"]
|
10
|
+
spec.email = ["oystersauce8@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{An AliG translator}
|
13
|
+
spec.description = %q{Translates give sentences in to Ali G brand of slang}
|
14
|
+
spec.homepage = "http://github.com/oystersauce8/alig"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
spec.add_development_dependency "rspec"
|
24
|
+
spec.add_development_dependency "coveralls"
|
25
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "alig"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/lib/alig.rb
ADDED
@@ -0,0 +1,720 @@
|
|
1
|
+
require "alig/version"
|
2
|
+
|
3
|
+
module Alig
|
4
|
+
TRANSLATIONS = {
|
5
|
+
"absent" => "not in da house",
|
6
|
+
"absolutely" => "for real",
|
7
|
+
"actual" => "hactual",
|
8
|
+
"agent" => "asian",
|
9
|
+
"alright" => "aight",
|
10
|
+
"am" => "is",
|
11
|
+
"an" => "a",
|
12
|
+
"anal" => "batty",
|
13
|
+
"angry" => "menstural",
|
14
|
+
"animal" => "aminal",
|
15
|
+
"annoying" => "pissin",
|
16
|
+
"anus" => "batty",
|
17
|
+
"apartment" => "turf",
|
18
|
+
"are" => "is",
|
19
|
+
"argument" => "ruk",
|
20
|
+
"arguments" => "ruks",
|
21
|
+
"arse" => "batty",
|
22
|
+
"arse" => "exit",
|
23
|
+
"arsehole" => "batty hole",
|
24
|
+
"ass" => "batty",
|
25
|
+
"asses" => "batties",
|
26
|
+
"asshole" => "batty hole",
|
27
|
+
"attractive" => "fit",
|
28
|
+
"austria" => "Newgoslavia",
|
29
|
+
"awful" => "mingin",
|
30
|
+
"babe" => "fit bitch",
|
31
|
+
"baby" => "bitch",
|
32
|
+
"bad" => "wicked",
|
33
|
+
"ballix" => "balls",
|
34
|
+
"balls" => "biggies",
|
35
|
+
"balls" => "mr biggies",
|
36
|
+
"bang" => "bone",
|
37
|
+
"banged" => "boned",
|
38
|
+
"barn" => "farm",
|
39
|
+
"bastard" => "bastid",
|
40
|
+
"bbc" => "telly",
|
41
|
+
"beast" => "mr biggy",
|
42
|
+
"beautiful" => "wicked",
|
43
|
+
"because" => "coz",
|
44
|
+
"bedsit" => "turf",
|
45
|
+
"been" => "bin",
|
46
|
+
"bent" => "batty",
|
47
|
+
"best" => "fittest",
|
48
|
+
"best" => "wickedest",
|
49
|
+
"bestfriend" => "main man",
|
50
|
+
"bestfriend" => "main man",
|
51
|
+
"big" => "massiv",
|
52
|
+
"billion" => "quillion",
|
53
|
+
"bird" => "bitch",
|
54
|
+
"bird" => "bitch",
|
55
|
+
"birds" => "bitches",
|
56
|
+
"bisexual" => "trisexual",
|
57
|
+
"bisexual" => "trisexual",
|
58
|
+
"bizarre" => "batty",
|
59
|
+
"blacks" => "bruvers",
|
60
|
+
"bloke" => "geezer",
|
61
|
+
"blonde" => "fit",
|
62
|
+
"blow" => "erbal remedy",
|
63
|
+
"bollox" => "balls",
|
64
|
+
"boob" => "babylon",
|
65
|
+
"bored" => "chilled",
|
66
|
+
"borrow" => "steal",
|
67
|
+
"boss" => "main man",
|
68
|
+
"bottom" => "batty",
|
69
|
+
"boyfriend" => "main man",
|
70
|
+
"boys" => "bruvers",
|
71
|
+
"boys" => "main men",
|
72
|
+
"break" => "chill",
|
73
|
+
"breast" => "babylon",
|
74
|
+
"brill" => "wicked",
|
75
|
+
"brilliant" => "wicked",
|
76
|
+
"brother" => "bruver",
|
77
|
+
"browse" => "check",
|
78
|
+
"bugger" => "bum",
|
79
|
+
"bum" => "batty",
|
80
|
+
"bumfuck" => "bum",
|
81
|
+
"bumhole" => "batty hole",
|
82
|
+
"bunch" => "crew",
|
83
|
+
"butt" => "batty",
|
84
|
+
"butt" => "batty",
|
85
|
+
"butthole" => "batty hole",
|
86
|
+
"buy" => "purchase",
|
87
|
+
"bye" => "bo",
|
88
|
+
"cane" => "erbal remedy",
|
89
|
+
"cannabis" => "erbal remedy",
|
90
|
+
"cap" => "tommy",
|
91
|
+
"car" => "auto",
|
92
|
+
"cat" => "aminal",
|
93
|
+
"catholic" => "muslim",
|
94
|
+
"catholics" => "muslims",
|
95
|
+
"center" => "house",
|
96
|
+
"centre" => "house",
|
97
|
+
"certainly" => "aye",
|
98
|
+
"cheese" => "erbal remedy",
|
99
|
+
"chick" => "bitch",
|
100
|
+
"chicken" => "chikun",
|
101
|
+
"chilled" => "ambient",
|
102
|
+
"chum" => "main man",
|
103
|
+
"chums" => "boys",
|
104
|
+
"cigarette" => "fag",
|
105
|
+
"city" => "turf",
|
106
|
+
"clever" => "brainiest",
|
107
|
+
"click" => "let it rip",
|
108
|
+
"clit" => "love button",
|
109
|
+
"clitoris" => "love button",
|
110
|
+
"clockwork" => "chocolate",
|
111
|
+
"clothes" => "threads",
|
112
|
+
"club" => "cukabilly",
|
113
|
+
"coat" => "tommy hilfinger",
|
114
|
+
"cocaine" => "erbal remedy",
|
115
|
+
"cock" => "dong",
|
116
|
+
"coins" => "coppers",
|
117
|
+
"coke" => "craic",
|
118
|
+
"colleage" => "main man",
|
119
|
+
"colleages" => "boys",
|
120
|
+
"college" => "scool",
|
121
|
+
"commies" => "nazies",
|
122
|
+
"commy" => "nazy",
|
123
|
+
"company" => "crew",
|
124
|
+
"compliment" => "respect",
|
125
|
+
"compliments" => "respects",
|
126
|
+
"computer" => "pooter",
|
127
|
+
"condom" => "rubber",
|
128
|
+
"conservative" => "constervative",
|
129
|
+
"constabulary" => "constalubury",
|
130
|
+
"cool" => "wicked",
|
131
|
+
"coolest" => "fittest",
|
132
|
+
"coppers" => "pigs",
|
133
|
+
"cops" => "constalubury",
|
134
|
+
"country" => "turf",
|
135
|
+
"cow" => "bitch",
|
136
|
+
"coworker" => "main man",
|
137
|
+
"coworkers" => "boys",
|
138
|
+
"craic" => "crack",
|
139
|
+
"crap" => "mingin",
|
140
|
+
"crapper" => "bog",
|
141
|
+
"cunning" => "brainiest",
|
142
|
+
"cunt" => "punanni",
|
143
|
+
"curse" => "say a swear word",
|
144
|
+
"cursed" => "sed swear words",
|
145
|
+
"curses" => "sez swear words",
|
146
|
+
"cursing" => "saying swear words",
|
147
|
+
"cute" => "fit",
|
148
|
+
"dad" => "old geezer",
|
149
|
+
"darlin" => "bitch",
|
150
|
+
"darling" => "bitch",
|
151
|
+
"dead" => "stiff",
|
152
|
+
"definitely" => "for real",
|
153
|
+
"depressed" => "down",
|
154
|
+
"dick" => "dong",
|
155
|
+
"dickhead" => "chief",
|
156
|
+
"dinner" => "grub",
|
157
|
+
"dinnertime" => "grubtime",
|
158
|
+
"dirty" => "mingin",
|
159
|
+
"discover" => "check",
|
160
|
+
"discrimination" => "racalist",
|
161
|
+
"dislike" => "don't dig",
|
162
|
+
"dj" => "selecta",
|
163
|
+
"document" => "bit of paper",
|
164
|
+
"dodgy" => "batty",
|
165
|
+
"dog" => "aminal",
|
166
|
+
"dong" => "knob",
|
167
|
+
"dope" => "erbal remedy",
|
168
|
+
"dozen" => "quillion",
|
169
|
+
"draw" => "erbal remedy",
|
170
|
+
"drug" => "erbal remedy",
|
171
|
+
"drugs" => "erbal remedies",
|
172
|
+
"drunk" => "a little bit ratted",
|
173
|
+
"dude" => "man",
|
174
|
+
"dumass" => "chief",
|
175
|
+
"dyke" => "feminist",
|
176
|
+
"employee" => "main man",
|
177
|
+
"enemies" => "emenies",
|
178
|
+
"enemy" => "emeny",
|
179
|
+
"enjoy" => "chill",
|
180
|
+
"enjoy" => "dig",
|
181
|
+
"enormous" => "maximum",
|
182
|
+
"enter" => "let it rip",
|
183
|
+
"erection" => "bone",
|
184
|
+
"especially" => "for real",
|
185
|
+
"everybody" => "me crew",
|
186
|
+
"exact" => "pacific",
|
187
|
+
"exactly" => "pacifically",
|
188
|
+
"examine" => "check",
|
189
|
+
"excellent" => "wicked",
|
190
|
+
"exceptional" => "fore real",
|
191
|
+
"exhausted" => "wrecked",
|
192
|
+
"explore" => "check",
|
193
|
+
"fag" => "batty boy",
|
194
|
+
"faggot" => "batty boy",
|
195
|
+
"faggott" => "batty boy",
|
196
|
+
"family" => "crew",
|
197
|
+
"fancy" => "dig",
|
198
|
+
"fanny" => "flange",
|
199
|
+
"fantastic" => "wicked",
|
200
|
+
"fart" => "trumpet",
|
201
|
+
"farts" => "trumpets",
|
202
|
+
"fat" => "large",
|
203
|
+
"father" => "old geezer",
|
204
|
+
"favorite" => "bestest",
|
205
|
+
"favour" => "dig",
|
206
|
+
"favourite" => "bestest",
|
207
|
+
"feet" => "feets",
|
208
|
+
"female" => "bitch",
|
209
|
+
"females" => "bitches",
|
210
|
+
"fenian" => "muslim",
|
211
|
+
"fight" => "ruk",
|
212
|
+
"fights" => "ruks",
|
213
|
+
"filthy" => "mingin",
|
214
|
+
"find" => "check",
|
215
|
+
"fine" => "wicked",
|
216
|
+
"finest" => "fittest",
|
217
|
+
"flat" => "turf",
|
218
|
+
"folk" => "geezers",
|
219
|
+
"food" => "grub",
|
220
|
+
"fool" => "batty boy",
|
221
|
+
"foot" => "foots",
|
222
|
+
"fox" => "lady",
|
223
|
+
"freak" => "bitch",
|
224
|
+
"friend" => "main man",
|
225
|
+
"friends" => "boys",
|
226
|
+
"fuck" => "ride the punanni",
|
227
|
+
"fucking" => "riding the punanni",
|
228
|
+
"fucking" => "well",
|
229
|
+
"full" => "maximum",
|
230
|
+
"fun" => "wicked",
|
231
|
+
"funniest" => "wickedist",
|
232
|
+
"funny" => "wicked",
|
233
|
+
"gaelic" => "gay lick",
|
234
|
+
"gailic" => "gay lick",
|
235
|
+
"gang" => "crew",
|
236
|
+
"ganja" => "erbal remedy",
|
237
|
+
"gaol" => "inside",
|
238
|
+
"gape" => "check",
|
239
|
+
"gay" => "batty boy",
|
240
|
+
"gays" => "batty boys",
|
241
|
+
"gaze" => "check",
|
242
|
+
"gear" => "erbal remedy",
|
243
|
+
"gift" => "pressie",
|
244
|
+
"gigantic" => "massiv",
|
245
|
+
"girl" => "bitch",
|
246
|
+
"girlfriend" => "bitch",
|
247
|
+
"girls" => "bitches",
|
248
|
+
"give" => "borrow",
|
249
|
+
"glance" => "check",
|
250
|
+
"glasses" => "yellow sunglasses",
|
251
|
+
"god" => "Jackie Chan",
|
252
|
+
"good" => "wicked",
|
253
|
+
"goodbye" => "bo",
|
254
|
+
"good-bye" => "bo",
|
255
|
+
"goodlooking" => "fit",
|
256
|
+
"goods" => "goods",
|
257
|
+
"gorgeous" => "fit",
|
258
|
+
"gran" => "nan",
|
259
|
+
"grandmother" => "nan",
|
260
|
+
"granny" => "nan",
|
261
|
+
"grass" => "erbal remedy",
|
262
|
+
"great" => "wicked",
|
263
|
+
"greece" => "Newgoslavia",
|
264
|
+
"greeting" => "hear me now",
|
265
|
+
"greetings" => "hear me now",
|
266
|
+
"groovy" => "wicked",
|
267
|
+
"guy" => "boy",
|
268
|
+
"guy" => "geezer",
|
269
|
+
"hairy" => "mingin",
|
270
|
+
"handsome" => "wicked",
|
271
|
+
"happy" => "chilled",
|
272
|
+
"hash" => "erbal remedy",
|
273
|
+
"hashish" => "erbal remedy",
|
274
|
+
"hassle" => "aggro",
|
275
|
+
"hate" => "don't dig",
|
276
|
+
"hated" => "rank",
|
277
|
+
"hello" => "allo",
|
278
|
+
"here" => "ere",
|
279
|
+
"here" => "in da house",
|
280
|
+
"heroin" => "gear",
|
281
|
+
"hi" => "allo",
|
282
|
+
"hiphop" => "speed garage",
|
283
|
+
"his" => "is",
|
284
|
+
"hiya" => "allo",
|
285
|
+
"hole" => "batty",
|
286
|
+
"home" => "turf",
|
287
|
+
"home" => "westside",
|
288
|
+
"homosapien" => "homosexual",
|
289
|
+
"homosexual" => "homosapien",
|
290
|
+
"homosexuals" => "homosapiens",
|
291
|
+
"honey" => "bitch",
|
292
|
+
"honker" => "babylon",
|
293
|
+
"hooker" => "ho",
|
294
|
+
"hooter" => "babylon",
|
295
|
+
"horrible" => "mingin",
|
296
|
+
"horse" => "aminal",
|
297
|
+
"hospital" => "hostipal",
|
298
|
+
"hot" => "spunky",
|
299
|
+
"hows" => "how is",
|
300
|
+
"how's" => "how is",
|
301
|
+
"huge" => "massiv",
|
302
|
+
"humped" => "boned",
|
303
|
+
"humps" => "bones",
|
304
|
+
"hundred" => "quillion",
|
305
|
+
"hungary" => "Newgoslavia",
|
306
|
+
"hunt" => "check",
|
307
|
+
"hurt" => "is wrecked",
|
308
|
+
"i" => "me",
|
309
|
+
"idiot" => "chief",
|
310
|
+
"im" => "i is",
|
311
|
+
"i'm" => "me is",
|
312
|
+
"in" => "on",
|
313
|
+
"indie" => "speed garage",
|
314
|
+
"individual" => "main man",
|
315
|
+
"inspect" => "check",
|
316
|
+
"inspect" => "check",
|
317
|
+
"insult" => "dis",
|
318
|
+
"insulted" => "dissed",
|
319
|
+
"insulting" => "dissing",
|
320
|
+
"insults" => "disses",
|
321
|
+
"intelligent" => "brainiest",
|
322
|
+
"investigate" => "check",
|
323
|
+
"irish" => "sound",
|
324
|
+
"is" => "is",
|
325
|
+
"italy" => "Newgoslavia",
|
326
|
+
"jail" => "inside",
|
327
|
+
"jazz" => "speed garage",
|
328
|
+
"jeep" => "auto",
|
329
|
+
"jesus" => "Jackie Chan",
|
330
|
+
"joint" => "spliff",
|
331
|
+
"jump" => "hop",
|
332
|
+
"jumped" => "hopped",
|
333
|
+
"keen" => "wicked",
|
334
|
+
"king" => "main man",
|
335
|
+
"knob" => "dong",
|
336
|
+
"lad" => "main man",
|
337
|
+
"ladies" => "bitches",
|
338
|
+
"lady" => "bitch",
|
339
|
+
"land" => "turf",
|
340
|
+
"langer" => "dong",
|
341
|
+
"language" => "lingo",
|
342
|
+
"large" => "massiv",
|
343
|
+
"lav" => "bog",
|
344
|
+
"lavatory" => "bog",
|
345
|
+
"law" => "pigs",
|
346
|
+
"lend" => "borrow",
|
347
|
+
"lesbian" => "feminist",
|
348
|
+
"lesbianism" => "feminism",
|
349
|
+
"like" => "dig",
|
350
|
+
"loads" => "quillions",
|
351
|
+
"loo" => "bog",
|
352
|
+
"look" => "check",
|
353
|
+
"loose" => "chill",
|
354
|
+
"lots" => "quillions",
|
355
|
+
"love" => "dig",
|
356
|
+
"lovely" => "wicked",
|
357
|
+
"lover" => "bitch",
|
358
|
+
"lunch" => "grub",
|
359
|
+
"lunchtime" => "grubtime",
|
360
|
+
"luv" => "bitch",
|
361
|
+
"man" => "geezer",
|
362
|
+
"manager" => "main man",
|
363
|
+
"marajuana" => "erbal remedy",
|
364
|
+
"marijuana" => "erbal remedy",
|
365
|
+
"massive" => "massiv",
|
366
|
+
"masturbate" => "crack one off",
|
367
|
+
"masturbated" => "cracked one off",
|
368
|
+
"masturbates" => "cracks one off",
|
369
|
+
"masturbating" => "cracking one off",
|
370
|
+
"mate" => "main man",
|
371
|
+
"mates" => "boys",
|
372
|
+
"matey" => "main man",
|
373
|
+
"mature" => "full bush",
|
374
|
+
"melon" => "babylon",
|
375
|
+
"men" => "bruvers",
|
376
|
+
"millenium" => "minnenium",
|
377
|
+
"million" => "quillion",
|
378
|
+
"million" => "quillion",
|
379
|
+
"minge" => "punanni",
|
380
|
+
"minj" => "punanni",
|
381
|
+
"missing" => "not in da house",
|
382
|
+
"money" => "mula",
|
383
|
+
"moron" => "chief",
|
384
|
+
"most" => "mostest",
|
385
|
+
"mother" => "mam",
|
386
|
+
"motor" => "auto",
|
387
|
+
"muff" => "punanni",
|
388
|
+
"mum" => "mam",
|
389
|
+
"music" => "tunes",
|
390
|
+
"muslim" => "catholics",
|
391
|
+
"my" => "me",
|
392
|
+
"nasty" => "rank",
|
393
|
+
"nazies" => "commies",
|
394
|
+
"nazy" => "commy",
|
395
|
+
"neighbourhood" => "turf",
|
396
|
+
"neighbours" => "homies",
|
397
|
+
"nice" => "wicked",
|
398
|
+
"nicest" => "fittest",
|
399
|
+
"nigger" => "bruver",
|
400
|
+
"northside" => "westside",
|
401
|
+
"nuts" => "balls",
|
402
|
+
"ok" => "wicked",
|
403
|
+
"old" => "batty",
|
404
|
+
"organisation" => "crew",
|
405
|
+
"other" => "udder",
|
406
|
+
"paddy" => "muslim",
|
407
|
+
"partner" => "bitch",
|
408
|
+
"peep" => "check",
|
409
|
+
"penis" => "dong",
|
410
|
+
"penises" => "mr biggies",
|
411
|
+
"perfect" => "wicked",
|
412
|
+
"period" => "blob",
|
413
|
+
"person" => "main man",
|
414
|
+
"pig" => "bitch",
|
415
|
+
"pisser" => "bog",
|
416
|
+
"pleasure" => "sweet bitching",
|
417
|
+
"police" => "constalubury",
|
418
|
+
"poof" => "batty boy",
|
419
|
+
"poofter" => "batty boy",
|
420
|
+
"pop" => "speed garage",
|
421
|
+
"pork" => "bone",
|
422
|
+
"porked" => "boned",
|
423
|
+
"positely" => "for real",
|
424
|
+
"pouf" => "batty boy",
|
425
|
+
"pound" => "squid",
|
426
|
+
"prefer" => "dig",
|
427
|
+
"pregnant" => "preggers",
|
428
|
+
"pregnant" => "up da spout",
|
429
|
+
"prepare" => "make",
|
430
|
+
"prepared" => "made",
|
431
|
+
"present" => "in da house",
|
432
|
+
"pretty" => "fit",
|
433
|
+
"prison" => "inside",
|
434
|
+
"probe" => "check",
|
435
|
+
"prostitute" => "ho",
|
436
|
+
"protestant" => "muslim",
|
437
|
+
"protestants" => "muslims",
|
438
|
+
"pub" => "boozer",
|
439
|
+
"pussy" => "punanni",
|
440
|
+
"queen" => "main bitch",
|
441
|
+
"queer" => "batty boy",
|
442
|
+
"queers" => "batty boys",
|
443
|
+
"quick" => "quicrest",
|
444
|
+
"quid" => "squid",
|
445
|
+
"rac" => "ruc",
|
446
|
+
"racism" => "racalist",
|
447
|
+
"racist" => "racialist",
|
448
|
+
"racists" => "racialists",
|
449
|
+
"really" => "for real",
|
450
|
+
"relax" => "chill",
|
451
|
+
"relaxation" => "chillin",
|
452
|
+
"rest" => "chill",
|
453
|
+
"ride" => "bang",
|
454
|
+
"ripe" => "full bush",
|
455
|
+
"rock" => "speed garage",
|
456
|
+
"rocks" => "is wicked",
|
457
|
+
"rotten" => "mingin",
|
458
|
+
"row" => "ruk",
|
459
|
+
"rows" => "ruks",
|
460
|
+
"RUC" => "RAC",
|
461
|
+
"sad" => "down",
|
462
|
+
"schedule" => "sex life",
|
463
|
+
"school" => "scool",
|
464
|
+
"scientist" => "skientist",
|
465
|
+
"scotland" => "wales",
|
466
|
+
"screw" => "bone",
|
467
|
+
"search" => "check",
|
468
|
+
"see" => "check",
|
469
|
+
"seek" => "check",
|
470
|
+
"seen" => "checked",
|
471
|
+
"seeya" => "bo",
|
472
|
+
"see-ya" => "bo",
|
473
|
+
"sell" => "borrow",
|
474
|
+
"semen" => "orange juice",
|
475
|
+
"sensi" => "erbal remedy",
|
476
|
+
"sentences" => "lingo",
|
477
|
+
"service" => "mend",
|
478
|
+
"sex" => "riding the punanni",
|
479
|
+
"sexier" => "fitter",
|
480
|
+
"sexiest" => "fittest",
|
481
|
+
"sexy" => "fit",
|
482
|
+
"shag" => "ride the punanni",
|
483
|
+
"shagged" => "boned",
|
484
|
+
"shagger" => "boner",
|
485
|
+
"shagging" => "ride the punanni",
|
486
|
+
"shaven" => "shaven haven",
|
487
|
+
"sheep" => "aminal",
|
488
|
+
"shit" => "plop",
|
489
|
+
"shitter" => "bog",
|
490
|
+
"shout" => "bang",
|
491
|
+
"shouting" => "bangin",
|
492
|
+
"situation" => "deal",
|
493
|
+
"situation" => "story",
|
494
|
+
"skank" => "erbal remedy",
|
495
|
+
"skilled" => "brainiest",
|
496
|
+
"slack" => "chill",
|
497
|
+
"slag" => "bitch",
|
498
|
+
"slag" => "mingin bitch",
|
499
|
+
"sleep" => "go to me julie",
|
500
|
+
"slut" => "mingin bitch",
|
501
|
+
"smell" => "stink",
|
502
|
+
"smells" => "stinks",
|
503
|
+
"smelly" => "stinkin",
|
504
|
+
"smiley" => "cheeky",
|
505
|
+
"speak" => "bang",
|
506
|
+
"speaking" => "natterin",
|
507
|
+
"specif" => "pacific",
|
508
|
+
"specifically" => "pacifically",
|
509
|
+
"speed" => "speeden",
|
510
|
+
"sperm" => "orange juice",
|
511
|
+
"spliff" => "erbal remedy",
|
512
|
+
"spunk" => "orange juice",
|
513
|
+
"squad" => "crew",
|
514
|
+
"staines" => "me turf",
|
515
|
+
"stare" => "check",
|
516
|
+
"strange" => "batty",
|
517
|
+
"stress" => "aggro",
|
518
|
+
"study" => "hang",
|
519
|
+
"studying" => "hangin",
|
520
|
+
"stupid" => "bit thick",
|
521
|
+
"suffer" => "moan",
|
522
|
+
"suffers" => "moans",
|
523
|
+
"support" => "help",
|
524
|
+
"sweet" => "wicked",
|
525
|
+
"swiss" => "batty",
|
526
|
+
"talk" => "natter",
|
527
|
+
"talking" => "bangin",
|
528
|
+
"team" => "crew",
|
529
|
+
"techno" => "speed garage",
|
530
|
+
"technology" => "bits",
|
531
|
+
"terrorism" => "terrerorism",
|
532
|
+
"terrorist" => "terrerorist",
|
533
|
+
"terrorist" => "terrerorists",
|
534
|
+
"test" => "da test",
|
535
|
+
"thanks" => "big up",
|
536
|
+
"that" => "dat",
|
537
|
+
"thats" => "dats",
|
538
|
+
"that's" => "innit",
|
539
|
+
"the" => "da",
|
540
|
+
"they" => "dey",
|
541
|
+
"thick" => "bit thick",
|
542
|
+
"thing" => "fing",
|
543
|
+
"things" => "fings",
|
544
|
+
"this" => "dis",
|
545
|
+
"thousand" => "quillion",
|
546
|
+
"timetable" => "sex life",
|
547
|
+
"tired" => "wrecked",
|
548
|
+
"tit" => "babylon",
|
549
|
+
"tittie" => "babylon",
|
550
|
+
"toilet" => "bog",
|
551
|
+
"tool" => "dong",
|
552
|
+
"town" => "turf",
|
553
|
+
"trillion" => "quillion",
|
554
|
+
"trouble" => "aggro",
|
555
|
+
"truck" => "auto",
|
556
|
+
"truly" => "for real",
|
557
|
+
"tv" => "telly",
|
558
|
+
"twat" => "punanni",
|
559
|
+
"ugliest" => "mingiest",
|
560
|
+
"ugly" => "mingin",
|
561
|
+
"uncle" => "uncle jamal",
|
562
|
+
"uncommonly" => "for real",
|
563
|
+
"unsexy" => "mingiest",
|
564
|
+
"unwind" => "chill",
|
565
|
+
"upset" => "down",
|
566
|
+
"urinate" => "do a piss",
|
567
|
+
"urinated" => "did a piss",
|
568
|
+
"urinates" => "does a piss",
|
569
|
+
"urinating" => "doing a piss",
|
570
|
+
"vagina" => "flange",
|
571
|
+
"very" => "well",
|
572
|
+
"wales" => "the biggest dick in da ocean",
|
573
|
+
"wank" => "crack one off",
|
574
|
+
"wanked" => "cracked one off",
|
575
|
+
"wanking" => "cracking one off",
|
576
|
+
"wanks" => "cracks one off",
|
577
|
+
"want" => "dig",
|
578
|
+
"weed" => "erbal remedy",
|
579
|
+
"welcome" => "hear me now, dis is",
|
580
|
+
"wench" => "bitch",
|
581
|
+
"westside" => "staines",
|
582
|
+
"whales" => "da biggest dick in the ocean",
|
583
|
+
"what" => "wot",
|
584
|
+
"what's" => "wus",
|
585
|
+
"whore" => "ho",
|
586
|
+
"wife" => "bitch",
|
587
|
+
"willy" => "mr biggy",
|
588
|
+
"with" => "wiv",
|
589
|
+
"woman" => "bitch",
|
590
|
+
"women" => "wimin",
|
591
|
+
"wonderful" => "wicked",
|
592
|
+
"words" => "lingo",
|
593
|
+
"work" => "wurk",
|
594
|
+
"worker" => "main man",
|
595
|
+
"workers" => "boys",
|
596
|
+
"yes" => "aye",
|
597
|
+
"you" => "yous",
|
598
|
+
"you're" => "yous is",
|
599
|
+
"youth" => "youf",
|
600
|
+
"yugoslavia" => "Newgoslavia",
|
601
|
+
"jerk off" => "crack one off",
|
602
|
+
"haven't" => "ain't",
|
603
|
+
"hasn't" => "ain't",
|
604
|
+
"have not" => "ain't",
|
605
|
+
"has not" => "ain't",
|
606
|
+
"have never" => "ain't never",
|
607
|
+
"has never" => "ain't never",
|
608
|
+
"am gay" => "like it up both pipes",
|
609
|
+
"is gay" => "likes it up both pipes",
|
610
|
+
"well done" => "big up",
|
611
|
+
"pleased to meet you" => "big up to you",
|
612
|
+
"have sex" => "get jiggy",
|
613
|
+
"has sex" => "bones",
|
614
|
+
"having sex" => "riding the punanni",
|
615
|
+
"listen to me" => "hear me now",
|
616
|
+
"isnt it" => "innit",
|
617
|
+
"isn't it" => "innit",
|
618
|
+
"that's right" => "innit",
|
619
|
+
"what's up" => "whaddup",
|
620
|
+
"had" => "did have",
|
621
|
+
"i heard" => "me crew told me",
|
622
|
+
"i hear" => "word on da street",
|
623
|
+
"girl friend" => "bitch",
|
624
|
+
"i want" => "me would dig",
|
625
|
+
"i like" => "me would dig",
|
626
|
+
"that's correct" => "innit",
|
627
|
+
"i live in" => "me turf is",
|
628
|
+
"i'm from" => "me turf is",
|
629
|
+
"a ride" => "fit",
|
630
|
+
"boy friend" => "main man",
|
631
|
+
"disc jockey" => "selecta",
|
632
|
+
"disk jockey" => "selecta",
|
633
|
+
"are you gay" => "do you like it up both pipes",
|
634
|
+
"backdoor burgler" => "batty boy",
|
635
|
+
"im from" => "me turf is",
|
636
|
+
"i come from" => "me turf is",
|
637
|
+
"make love" => "bone",
|
638
|
+
"what's up" => "wussup",
|
639
|
+
"whats up" => "wassup",
|
640
|
+
"good looking" => "fit",
|
641
|
+
"a joint" => "some erbal remedy",
|
642
|
+
"a spliff" => "some erbal remedy",
|
643
|
+
"a bent" => "a batty boy",
|
644
|
+
"tonight" => "a bit later on",
|
645
|
+
"smoking" => "toking",
|
646
|
+
"smokes" => "tokes",
|
647
|
+
"working" => "hangin",
|
648
|
+
"meeting" => "hangin",
|
649
|
+
"colleagues" => "crew",
|
650
|
+
"a smoke" => "a bit of erbal remedy",
|
651
|
+
"pissed off" => "aggro",
|
652
|
+
"im going home" => "me is heading westside",
|
653
|
+
"i'm going home" => "me is heading westside",
|
654
|
+
"my home" => "westside",
|
655
|
+
"anal sex" => "batty boning",
|
656
|
+
"fuck off" => "chill",
|
657
|
+
"shut up" => "chill",
|
658
|
+
"go home" => "head westside",
|
659
|
+
"the hood" => "staines",
|
660
|
+
"what are you talking about" => "wot is yous bangin on about",
|
661
|
+
"i don't know" => "me don't have a clue",
|
662
|
+
"night club" => "cukabilly",
|
663
|
+
"disco" => "cukabilly",
|
664
|
+
"sinn fein" => "muslims",
|
665
|
+
"first class" => "the most bestest",
|
666
|
+
"class a" => "the most bestest",
|
667
|
+
"blow job" => "sweet mr biggy lovin",
|
668
|
+
"i like you" => "would you dig to get jiggy wiv mr biggy",
|
669
|
+
"i love you" => "would you dig to get jiggy wiv mr biggy",
|
670
|
+
"i fancy you" => "would you dig to get jiggy wiv mr biggy",
|
671
|
+
"like to have sex" => "dig to get jiggy wiv mr biggy",
|
672
|
+
"how are you feeling" => "is you wicked",
|
673
|
+
"make love" => "ride the punanni",
|
674
|
+
"my bed" => "the sack",
|
675
|
+
"big one" => "mr biggy",
|
676
|
+
"where do you live" => "where is yous turf",
|
677
|
+
"good looking" => "fit",
|
678
|
+
"going home" => "going westside",
|
679
|
+
"making love" => "riding the punanni",
|
680
|
+
"made love" => "boned",
|
681
|
+
"west side" => "me turf",
|
682
|
+
"a break" => "a chill pill",
|
683
|
+
"what time is it" => "keep it real and tell me da time",
|
684
|
+
"channel 4" => "telly",
|
685
|
+
"laid" => "jiggy",
|
686
|
+
"how do you do" => "is you wicked",
|
687
|
+
"how are you" => "is you wicked",
|
688
|
+
"how's it going" => "is you wicked",
|
689
|
+
"give me a ring" => "gimme a shout",
|
690
|
+
"i find you" => "i fink you is",
|
691
|
+
"Where do I live" => "where is me turf",
|
692
|
+
"what plans" => "what's the deal",
|
693
|
+
"oral sex" => "drinking from the bearded cup",
|
694
|
+
"have fun" => "chill",
|
695
|
+
"a pay rise" => "mo mula",
|
696
|
+
"are you going out" => "is you goin out to check some bitches",
|
697
|
+
"to the pub" => "down the boozer",
|
698
|
+
"looking at" => "checkin out",
|
699
|
+
"i feel like" => "i fink i will be",
|
700
|
+
"he feels like" => "he finks he will be",
|
701
|
+
"she feels like" => "she finks she will be",
|
702
|
+
"that's not right" => "dat ain't right",
|
703
|
+
"slag off" => "dis",
|
704
|
+
"slags off" => "disses",
|
705
|
+
"slagged off" => "dissed",
|
706
|
+
"have a piss" => "do a piss",
|
707
|
+
"has a piss" => "does a piss",
|
708
|
+
"had a piss" => "did a piss",
|
709
|
+
"having a piss" => "doing a piss",
|
710
|
+
"slagging off" => "dissing",
|
711
|
+
"welcome to" => "hear me now, dis is"
|
712
|
+
}
|
713
|
+
|
714
|
+
def self.translate(sentence)
|
715
|
+
TRANSLATIONS.each_pair do |phrase, translation|
|
716
|
+
sentence.gsub!(phrase, translation)
|
717
|
+
end
|
718
|
+
sentence
|
719
|
+
end
|
720
|
+
end
|
data/lib/alig/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: alig
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sam Weerasinghe
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
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: coveralls
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: Translates give sentences in to Ali G brand of slang
|
70
|
+
email:
|
71
|
+
- oystersauce8@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- .coveralls.yml
|
77
|
+
- .gitignore
|
78
|
+
- .travis.yml
|
79
|
+
- Gemfile
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- alig.gemspec
|
83
|
+
- bin/console
|
84
|
+
- bin/setup
|
85
|
+
- lib/alig.rb
|
86
|
+
- lib/alig/version.rb
|
87
|
+
homepage: http://github.com/oystersauce8/alig
|
88
|
+
licenses: []
|
89
|
+
metadata: {}
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
requirements: []
|
105
|
+
rubyforge_project:
|
106
|
+
rubygems_version: 2.4.8
|
107
|
+
signing_key:
|
108
|
+
specification_version: 4
|
109
|
+
summary: An AliG translator
|
110
|
+
test_files: []
|