API Documentation¶
Decipher and Encipher method¶
-
tapcode.tapcode.
decipher
(code, wordSep, sentenceSep)¶ Decipher tapcode sentences.
Parameters: - code – Tapcode sentence to decipher.
- wordSep (string) – Separator for word (basically just a space by default)
- sentenceSep (string) – Separator for sentence (basically just a dot by default)
Returns: string. Deciphered tapcode sentences.
-
tapcode.tapcode.
encipher
(sentence, wordSep, sentenceSep)¶ encipher a sentence with tapcode system
Parameters: - sentence (list) – List of sentence
- wordSep (string) – Separator for word (basically just a space by default)
- sentenceSep (string) – Separator for sentence (basically just a dot by default)
Returns: string. Enciphered sentences.
-
tapcode.tapcode.
prepare_sentence
(sentence)¶ Prepare a sentence for the encryption
Parameters: sentence (string) – Sentences to encode. Returns: string. Cleaned sentences.