# yetz.rb inverse

yetz.rb converts a word or phrase into a number according to the yetziratick alphabetic number equivalents (CFR book chameleon) . In numerology words with the same numeric equivalent are said to be related. For example the words seth & shit are near equivalent but their numbers are quite different: 574 vs 84 .'. not the same.

The question then becomes what other words add up to the same numberic value as the word seth (or shit). This project will create a java or Ruby program to come up with some kind of rational answer. It is a 1 to many answer since many combination of numbers add up to the same value & the large the number the more answers there are. Wikipedia has the distribution of letters in the English alphabet. Here is a frequency analyzer for an arbitrary text.

Research so far doesn't have a handle on what a typical word looks like. How many consonants, vowels, length etc. - which info might help the task.

And here is something on the concept of additive number theory which is probably relative to the problem.

I'm revising the ruby program to python which is easier environment to install.

AC in his use of gematria would thake the hebrew spellings of known beings he wanted to invoke/evoke & fudge with the leftovers & the spelling until he had what he wanted. I'm not sure whether GW's yetziratick alphabet numbers are the same as AC's or not since most of AC's is Hebrew.

c.f the books Magick, 777, Book Chameleon etc.

The question then becomes what other words add up to the same numberic value as the word seth (or shit). This project will create a java or Ruby program to come up with some kind of rational answer. It is a 1 to many answer since many combination of numbers add up to the same value & the large the number the more answers there are. Wikipedia has the distribution of letters in the English alphabet. Here is a frequency analyzer for an arbitrary text.

Research so far doesn't have a handle on what a typical word looks like. How many consonants, vowels, length etc. - which info might help the task.

And here is something on the concept of additive number theory which is probably relative to the problem.

I'm revising the ruby program to python which is easier environment to install.

AC in his use of gematria would thake the hebrew spellings of known beings he wanted to invoke/evoke & fudge with the leftovers & the spelling until he had what he wanted. I'm not sure whether GW's yetziratick alphabet numbers are the same as AC's or not since most of AC's is Hebrew.

c.f the books Magick, 777, Book Chameleon etc.

### Tags

- project 2
- removes
- end

### Comments

*Mark de LA says* This program actually works & has the added modulo arithmetic at the end to fit numbers into a lottery ticket for amusement:

# To change this template, choose Tools | Templates

# and open the template in the editor.

z = 0

ytz = { "A" => 1 ,"B" => 2 , "G" => 3 , "D" => 4 , "H" => 5 ,"V" => 6, "Z" => 7 , "C" => 8 ,"T" => 9 ,

"I" => 10 ,"K" => 20 , "L" => 30 ,"M" => 40 ,"N" => 50 ,"S" => 60 ,"O" => 70 ,"P" => 80 ,"X" => 90 ,

"Q" => 100 ,"R" => 200 ,"W" => 300 ,"Y" => 400 ,"E" => 500 ,"F" => 600 ,"J" => 700 ,"U" => 800 ,"&" => 900}

ytz.default=z

word = gets.chop #removes \n or \r at end of line

worduc = word.upcase

total = 0

i=0

while i < worduc.length

total += ytz[worduc[i,1]]

i += 1

end

puts sprintf( "The number for %s is %s " , word, total)

puts sprintf( "Total modulo 56 is %s " ,total.modulo(56))

puts sprintf( "Total modulo 46 is %s " ,total.modulo(46))

puts sprintf( "Total modulo 9 is %s " ,total.modulo(9))

puts sprintf( "Total modulo 10 is %s " ,total.modulo(10))

puts sprintf( "Total modulo 64 is %s " ,total.modulo(64))

puts sprintf( "Total modulo 3 is %s " ,total.modulo(3))

# To change this template, choose Tools | Templates

# and open the template in the editor.

z = 0

ytz = { "A" => 1 ,"B" => 2 , "G" => 3 , "D" => 4 , "H" => 5 ,"V" => 6, "Z" => 7 , "C" => 8 ,"T" => 9 ,

"I" => 10 ,"K" => 20 , "L" => 30 ,"M" => 40 ,"N" => 50 ,"S" => 60 ,"O" => 70 ,"P" => 80 ,"X" => 90 ,

"Q" => 100 ,"R" => 200 ,"W" => 300 ,"Y" => 400 ,"E" => 500 ,"F" => 600 ,"J" => 700 ,"U" => 800 ,"&" => 900}

ytz.default=z

word = gets.chop #removes \n or \r at end of line

worduc = word.upcase

total = 0

i=0

while i < worduc.length

total += ytz[worduc[i,1]]

i += 1

end

puts sprintf( "The number for %s is %s " , word, total)

puts sprintf( "Total modulo 56 is %s " ,total.modulo(56))

puts sprintf( "Total modulo 46 is %s " ,total.modulo(46))

puts sprintf( "Total modulo 9 is %s " ,total.modulo(9))

puts sprintf( "Total modulo 10 is %s " ,total.modulo(10))

puts sprintf( "Total modulo 64 is %s " ,total.modulo(64))

puts sprintf( "Total modulo 3 is %s " ,total.modulo(3))

*Mark de LA says* The above was formulated to fit the IDE Netbeans 6.8 - since then they have removed ruby from their supported environments.

*Mark de LA says* M 2012-10-07 18:00:45 4706

This python 2.7 version works where you can execute python 2.7

This temporary script file is located here:This temporary script file is located here:

C:\Users\MarkRussell\.spyder2\yetz.py

"""

yz = dict ({"A": 1 , "B": 2 , "G": 3 , "D": 4 , "H": 5 ,"V": 6, "Z": 7 , \

"C": 8 ,"T": 9 ,"I": 10 ,"K": 20 , "L": 30 ,"M": 40 ,"N": 50, \

"S": 60 ,"O": 70 ,"P": 80 ,"X": 90 ,"Q": 100 ,"R": 200, "W": 300, \

"Y": 400 ,"E": 500 ,"F": 600 ,"J": 700 ,"U": 800 ,"&": 900 } )

word = raw_input("Enter names: ")

print "you entered ", word

word = str(word).upper()

total = 0

i=0

y=" "

while (i < len(word)):

total += yz.get(word[i],0)

i += 1

#end

print "The number for " , word, total

print "Total modulo 55 " , total%55

print "Total modulo 42 " , total%42

print "Total modulo 9 " , total%9

print "Total modulo 10 " , total%10

print "Total modulo 64 " , total%64

#

This temporary script file is located here:This temporary script file is located here:

C:\Users\MarkRussell\.spyder2\yetz.py

"""

yz = dict ({"A": 1 , "B": 2 , "G": 3 , "D": 4 , "H": 5 ,"V": 6, "Z": 7 , \

"C": 8 ,"T": 9 ,"I": 10 ,"K": 20 , "L": 30 ,"M": 40 ,"N": 50, \

"S": 60 ,"O": 70 ,"P": 80 ,"X": 90 ,"Q": 100 ,"R": 200, "W": 300, \

"Y": 400 ,"E": 500 ,"F": 600 ,"J": 700 ,"U": 800 ,"&": 900 } )

word = raw_input("Enter names: ")

print "you entered ", word

word = str(word).upper()

total = 0

i=0

y=" "

while (i < len(word)):

total += yz.get(word[i],0)

i += 1

#end

print "The number for " , word, total

print "Total modulo 55 " , total%55

print "Total modulo 42 " , total%42

print "Total modulo 9 " , total%9

print "Total modulo 10 " , total%10

print "Total modulo 64 " , total%64

#

### See Also

- Thought
**PJ2 - DE**with 31 viewings related by tag "project 2". - Thought
**Project 2**with 25 viewings related by tag "project 2". - Thought
**Morehouse**with 5 viewings related by tag "project 2". - Thought
**Very Kewl street level maps on Google**with 3 viewings related by tag "project 2".