Sha256: 5db2d961bd5d9969703423848c5445b45ec967104a21fab48d617a7728e711c5
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
module Persian # Homonyms of persian module Homonyms include Alphabet T = [ TE, TA ].freeze S = [ THE, SIN, SAD ].freeze H = [ HE_JIMI, HE_DOCHESHM ].freeze Z = [ ZAL, ZE, ZA, ZAD ].freeze GH = [ GHEIN, QAF ].freeze # List of all Homonyms classified in a hash ALL = { T: T, S: S, H: H, Z: Z, GH: GH }.freeze # List of all Homonyms bulk in array ALL_a = [ T, S, H, Z, GH ].flatten.freeze # Hash reverse list of Homonyms temp = {} ALL.each do |key, value| value.each do |i| temp[i.to_s] = key end end ALL_r = temp.freeze end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
persian-0.2.2 | lib/persian/list/homonyms.rb |