This is a Python script that when given a string or a list of strings, will output all ways of writing those strings using elemental
symbols. For example, the word barber
can be written as BArBEr
and BaRbEr
.
The script can be run in two ways:
-
python elementifier [input-string]
The script will print all possible encodings ofinput-string
in elemental symbols. -
python elementifier -f [file] -d [destination]
The script will attempt to encode all line-seperated strings infile
and write them todestination
Running python elementifier -f dictionary.txt -d encodings.txt
will attempt encode all English words (using the provided dictionary.txt
file) and write these encodings to encodings.txt