function g(s){return gsub(s,_)}$0=g("d|g")*2+g("[bcmp]")*3+g("[fhvwy]")*4+g("k")*5+g("j|x")*8+g("q|z")*10+g(".")