def self.get_word_solutions(word)
word.force_encoding "UTF-8"
word_solutions = Set.new
translitered = ArabicLatinTranslator.translate(word)
if @found.has_key?(translitered)
@@sol.get_solutions(translitered).each {|solution| word_solutions << solution } if @@sol.has_solutions(translitered)
if @@sol.has_alternative_spellings(translitered)
@@sol.get_alternative_spellings(translitered).each {|alt|
@@sol.get_solutions(alt).each {|solution| word_solutions << solution } if @@sol.has_solutions(alt)}
end
elsif @not_found.has_key?(translitered)
else
raise "#{translitered} is neither in found or notFound !"
end
return word_solutions
end