Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to various languages #46

Merged
merged 14 commits into from
Mar 12, 2024
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
0.4.0 / 2024-03-12
==================
* Removed 4 characters from Arabic:
* U+0615 ARABIC SMALL HIGH TAH
* U+066A ARABIC PERCENT SIGN
* U+066B ARABIC DECIMAL SEPARATOR
* U+066C ARABIC THOUSANDS SEPARATOR

* Removed 1 character from Devanagari:
* U+0950 DEVANAGARI OM

* Removed 1 character from Gurmukhi:
* U+0A51 GURMUKHI SIGN UDAAT

* Removed 1 character from Hebrew:
* U+05F4 HEBREW PUNCTUATION GERSHAYIM

* Removed 5 characters from Japanese:
* U+3094 HIRAGANA LETTER VU
* U+309B KATAKANA-HIRAGANA VOICED SOUND MARK
* U+309C KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK
* U+309D HIRAGANA ITERATION MARK
* U+309E HIRAGANA VOICED ITERATION MARK

* Removed 2 characters from Kannada:
* U+0964 DEVANAGARI DANDA
* U+0965 DEVANAGARI DOUBLE DANDA

* Removed 8 characters from Malayalam:
* U+0D3D MALAYALAM SIGN AVAGRAHA
* U+0D4E MALAYALAM LETTER DOT REPH
* U+0D79 MALAYALAM DATE MARK
* U+0D7A MALAYALAM LETTER CHILLU NN
* U+0D7B MALAYALAM LETTER CHILLU N
* U+0D7D MALAYALAM LETTER CHILLU L
* U+0D7E MALAYALAM LETTER CHILLU LL
* U+0D7F MALAYALAM LETTER CHILLU K

* Removed 2 characters from Tamil:
* U+0B9D (unassigned)
* U+0BFA TAMIL NUMBER SIGN

* Removed 4 characters from Telugu:
* U+0C00 TELUGU SIGN COMBINING CANDRABINDU
* U+0C58 TELUGU LETTER TSA
* U+0C59 TELUGU LETTER DZA
* U+0C5A TELUGU LETTER RRRA

0.3.0 / 2023-07-14
==================
* Add Fula (Adlam script).
Expand Down
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
speakeasy (0.3.0)
speakeasy (0.4.0)

GEM
remote: https://rubygems.org/
Expand All @@ -24,6 +24,7 @@ GEM

PLATFORMS
x86_64-darwin-18
x86_64-darwin-21
x86_64-linux

DEPENDENCIES
Expand All @@ -32,4 +33,4 @@ DEPENDENCIES
speakeasy!

BUNDLED WITH
2.2.31
2.3.5
1 change: 0 additions & 1 deletion data/Deva
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ codepoints:
- !ruby/range 2364..2373 # ़ ऽ ा ि ी ु ू ृ ॄ ॅ
- !ruby/range 2375..2377 # े ै ॉ
- !ruby/range 2379..2381 # ो ौ ्
- 2384 # ॐ
- !ruby/range 2406..2416 # ० १ २ ३ ४ ५ ६ ७ ८ ९ ॰
1 change: 0 additions & 1 deletion data/Guru
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ codepoints:
- !ruby/range 2622..2626
- !ruby/range 2631..2632
- !ruby/range 2635..2637
- 2641
- !ruby/range 2649..2652
- 2654
- !ruby/range 2662..2676
3 changes: 1 addition & 2 deletions data/ar
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ anglicized_name: Arabic
native_name: العربية
codepoints:
- 1548 # ARABIC COMMA
- 1557 # ARABIC SMALL HIGH TAH
- 1563 # ARABIC SEMICOLON
- 1567 # ARABIC QUESTION MARK
- !ruby/range 1569..1594 # ARABIC LETTER HAMZA .. ARABIC LETTER GHAIN
- !ruby/range 1600..1621 # ARABIC TATWEEL .. ARABIC HAMZA BELOW
- !ruby/range 1632..1644 # ARABIC-INDIC DIGIT ZERO .. ARABIC THOUSANDS SEPARATOR
- !ruby/range 1632..1641 # ARABIC-INDIC DIGIT ZERO .. ARABIC-INDIC DIGIT NINE
2 changes: 1 addition & 1 deletion data/he
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ native_name: עברית
codepoints:
- 1470 # ־
- !ruby/range 1488..1514 # א ב ג ד ה ו ז ח ט י ך כ ל ם מ ן נ ס ע ף פ ץ צ ק ר ש ת
- !ruby/range 1523..1524 # ׳ ״
- 1523 # ׳
3 changes: 1 addition & 2 deletions data/ja
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ version: 2
anglicized_name: Japanese
native_name: 日本語
codepoints:
- !ruby/range 12353..12436 # U+3041 (HIRAGANA LETTER SMALL A) .. U+3094 (HIRAGANA LETTER VU)
- !ruby/range 12443..12446 # U+309B (KATAKANA-HIRAGANA VOICED SOUND MARK) .. U+309E (HIRAGANA VOICED ITERATION MARK)
- !ruby/range 12353..12435 # U+3041 (HIRAGANA LETTER SMALL A) .. U+3093 (HIRAGANA LETTER N)
1 change: 0 additions & 1 deletion data/kn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: 2
anglicized_name: Kannada
native_name: ಕನ್ನಡ
codepoints:
- !ruby/range 2404..2405 # ।,॥
- !ruby/range 3202..3203 # ಂ,ಃ
- !ruby/range 3205..3212 # ಅ,ಆ,ಇ,ಈ,ಉ,ಊ,ಋ,ಌ
- !ruby/range 3214..3216 # ಎ,ಏ,ಐ
Expand Down
8 changes: 0 additions & 8 deletions data/ml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ codepoints:
- 3383 # ഷ (U+0D37) MALAYALAM LETTER SSA
- 3384 # സ (U+0D38) MALAYALAM LETTER SA
- 3385 # ഹ (U+0D39) MALAYALAM LETTER HA
- 3389 # ഽ (U+0D3D) MALAYALAM SIGN AVAGRAHA
- 3390 # ാ (U+0D3E) MALAYALAM VOWEL SIGN AA
- 3391 # ി (U+0D3F) MALAYALAM VOWEL SIGN I
- 3392 # ീ (U+0D40) MALAYALAM VOWEL SIGN II
Expand All @@ -69,11 +68,4 @@ codepoints:
- 3403 # ോ (U+0D4B) MALAYALAM VOWEL SIGN OO
- 3404 # ൌ (U+0D4C) MALAYALAM VOWEL SIGN AU
- 3405 # ് (U+0D4D) MALAYALAM SIGN VIRAMA
- 3406 # ൎ (U+0D4E) MALAYALAM LETTER DOT REPH
- 3415 # ൗ (U+0D57) MALAYALAM AU LENGTH MARK
- 3449 # ൹ (U+0D79) MALAYALAM DATE MARK
- 3450 # ൺ (U+0D7A) MALAYALAM LETTER CHILLU NN
- 3451 # ൻ (U+0D7B) MALAYALAM LETTER CHILLU N
- 3453 # ൽ (U+0D7D) MALAYALAM LETTER CHILLU L
- 3454 # ൾ (U+0D7E) MALAYALAM LETTER CHILLU LL
- 3455 # ൿ (U+0D7F) MALAYALAM LETTER CHILLU K
4 changes: 2 additions & 2 deletions data/ta
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ codepoints:
- !ruby/range 2962..2965
- !ruby/range 2969..2970
- 2972
- !ruby/range 2973..2974
- 2974
- !ruby/range 2979..2980
- !ruby/range 2984..2986
- !ruby/range 2990..3001
Expand All @@ -18,4 +18,4 @@ codepoints:
- !ruby/range 3018..3021
- 3024
- 3031
- !ruby/range 3046..3066
- !ruby/range 3046..3065
4 changes: 0 additions & 4 deletions data/te
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: 2
anglicized_name: Telugu
native_name: తెలుగు
codepoints:
- 3072 # ఀ (U+0C00) TELUGU SIGN COMBINING CANDRABINDU
- 3073 # ఁ (U+0C01) TELUGU SIGN CANDRABINDU
- 3074 # ం (U+0C02) TELUGU SIGN ANUSVARA
- 3075 # ః (U+0C03) TELUGU SIGN VISARGA
Expand Down Expand Up @@ -73,9 +72,6 @@ codepoints:
- 3149 # ్ (U+0C4D) TELUGU SIGN VIRAMA
- 3157 # ౕ (U+0C55) TELUGU LENGTH MARK
- 3158 # ౖ (U+0C56) TELUGU AI LENGTH MARK
- 3160 # ౘ (U+0C58) TELUGU LETTER TSA
- 3161 # ౙ (U+0C59) TELUGU LETTER DZA
- 3162 # ౚ (U+0C5A) TELUGU LETTER RRRA
- 3168 # ౠ (U+0C60) TELUGU LETTER VOCALIC RR
- 3169 # ౡ (U+0C61) TELUGU LETTER VOCALIC LL
- 3170 # ౢ (U+0C62) TELUGU VOWEL SIGN VOCALIC L
Expand Down
2 changes: 1 addition & 1 deletion lib/speakeasy.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'speakeasy/language'

module Speakeasy
VERSION = "0.3.0"
VERSION = "0.4.0"
end
4 changes: 2 additions & 2 deletions speakeasy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Gem::Specification.new do |s|
## If your rubyforge_project name is different, then edit it and comment out
## the sub! line in the Rakefile
s.name = 'speakeasy'
s.version = '0.3.0'
s.date = '2023-07-14'
s.version = '0.4.0'
s.date = '2024-03-12'
s.rubyforge_project = 'speakeasy'

## Make sure your summary is short. The description may be as long
Expand Down
12 changes: 6 additions & 6 deletions spec/language_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
SupportedLanguages = 64

it "can list the supported language ids" do
Speakeasy::Language.supported_language_ids.size.should == SupportedLanguages
expect(Speakeasy::Language.supported_language_ids.size).to eq(SupportedLanguages)
end

it "can get all supported languages" do
Speakeasy::Language.all.size.should == SupportedLanguages
expect(Speakeasy::Language.all.size).to eq(SupportedLanguages)
end

it "can iterate over all supported languages" do
Speakeasy::Language.each.to_a.size.should == SupportedLanguages
expect(Speakeasy::Language.each.to_a.size).to eq(SupportedLanguages)
end

it "contains valid code point ranges" do
Expand All @@ -33,7 +33,7 @@
end

it "has a language_id" do
subject.language_id.should == "de"
expect(subject.language_id).to eq("de")
end

it "has codepoints" do
Expand All @@ -43,12 +43,12 @@

it "has a native name" do
subject.respond_to? :native_name
subject.native_name.should == "Deutsch"
expect(subject.native_name).to eq("Deutsch")
end

it "has a anglicized name" do
subject.respond_to? :anglicized_name
subject.anglicized_name.should == "German"
expect(subject.anglicized_name).to eq("German")
end
end
end