air18n 0.1.31 → 0.1.32
Sign up to get free protection for your applications and to get access to all the features.
@@ -87,7 +87,7 @@ module Air18n
|
|
87
87
|
end
|
88
88
|
|
89
89
|
VOWELS = Set.new(["a","e","i","o","u"])
|
90
|
-
PUNCTUATION_REGEXP = /[.,?!"
|
90
|
+
PUNCTUATION_REGEXP = /[.,?!"()]/
|
91
91
|
|
92
92
|
SPELLING_VARIANTS = YAML.load_file(File.expand_path('../../../config/colonial_spelling_variants.yml', __FILE__))
|
93
93
|
|
data/lib/air18n/version.rb
CHANGED
@@ -35,11 +35,11 @@ describe Air18n::PrimAndProper do
|
|
35
35
|
@airpnp.guess(
|
36
36
|
"traveled realize flavor center learned practices airplane inquire specialties " +
|
37
37
|
"inquiry artifact program livable among spelled judgment defense fulfill spilled " +
|
38
|
-
"vacation apartment elevator couch coupon cell Hi bathroom",
|
38
|
+
"vacation apartment elevator couch coupon cell Hi bathroom neighborhood's",
|
39
39
|
:en, :"en-AU").should ==
|
40
40
|
"travelled realise flavour centre learnt practises aeroplane enquire specialities " +
|
41
41
|
"enquiry artefact programme liveable amongst spelt judgement defence fulfil spilt " +
|
42
|
-
"holiday apartment lift sofa voucher mobile G'day bathroom"
|
42
|
+
"holiday apartment lift sofa voucher mobile G'day bathroom neighbourhood's"
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -48,11 +48,11 @@ describe Air18n::PrimAndProper do
|
|
48
48
|
@airpnp.guess(
|
49
49
|
"traveled realize flavor center learned practices airplane inquire specialties " +
|
50
50
|
"inquiry artifact program livable among spelled judgment defense fulfill spilled " +
|
51
|
-
"vacation apartment elevator couch coupon cell Hi bathroom",
|
51
|
+
"vacation apartment elevator couch coupon cell Hi bathroom neighborhood's",
|
52
52
|
:en, :"en-NZ").should ==
|
53
53
|
"travelled realise flavour centre learnt practises aeroplane enquire specialities " +
|
54
54
|
"enquiry artefact programme liveable amongst spelt judgement defence fulfil spilt " +
|
55
|
-
"holiday apartment lift sofa voucher mobile Kia ora bathroom"
|
55
|
+
"holiday apartment lift sofa voucher mobile Kia ora bathroom neighbourhood's"
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
@@ -61,11 +61,11 @@ describe Air18n::PrimAndProper do
|
|
61
61
|
@airpnp.guess(
|
62
62
|
"traveled realize flavor center learned practices airplane inquire specialties " +
|
63
63
|
"inquiry artifact program livable among spelled judgment defense fulfill spilled " +
|
64
|
-
"vacation apartment elevator couch coupon cell Hi bathroom",
|
64
|
+
"vacation apartment elevator couch coupon cell Hi bathroom neighborhood's",
|
65
65
|
:en, :"en-CA").should ==
|
66
66
|
"travelled realize flavour centre learnt practises aeroplane enquire specialities " +
|
67
67
|
"enquiry artefact programme liveable amongst spelt judgement defence fulfil spilt " +
|
68
|
-
"vacation apartment elevator couch coupon cell Hi washroom"
|
68
|
+
"vacation apartment elevator couch coupon cell Hi washroom neighbourhood's"
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|