Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ana06/text-decoder
A text decoder written in Haskell
https://github.com/ana06/text-decoder
functional-programming textdecoder ucm
Last synced: 6 days ago
JSON representation
A text decoder written in Haskell
- Host: GitHub
- URL: https://github.com/ana06/text-decoder
- Owner: Ana06
- License: mit
- Created: 2016-02-23T22:40:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-13T21:10:25.000Z (over 8 years ago)
- Last Synced: 2024-10-19T12:58:14.492Z (28 days ago)
- Topics: functional-programming, textdecoder, ucm
- Language: Haskell
- Homepage:
- Size: 5.45 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Text decoder
A text decoder written in Haskell. Developed in May 2015. Comments are in Spanish.
The coding used is a biyection between characters in a way that each character of the original text has been replaced by other. The range os characters is `A..Z`, `a..z`, dots, commas, spaces and line breaks. There are not accents, numbers nor `ñ`. The coding change capital letters by capital letters and lower case letters by lower case letters, being consistent: if `a` is changed by `d` then `A` is changed by `D` and vice versa. The coding does not change dots, commas, spaces nor line breaks. The text to be decoded is in the file [texto.txt](https://github.com/Ana06/text-decoder/blob/master/texto.txt), although any other file that follows the previous rules can be used.
[frecuencias.txt](https://github.com/Ana06/text-decoder/blob/master/frecuencias.txt) and [quijote.txt](https://github.com/Ana06/text-decoder/blob/master/quijote.txt) are auxiliary files to get the frecuency of the words. [prAna.hs](https://github.com/Ana06/text-decoder/blob/master/prAna.hs) is the text decoder itself. Lastly, [textoDescifrado.txt](https://github.com/Ana06/text-decoder/blob/master/textoDescifrado.txt) is the decoded text got from [texto.txt](https://github.com/Ana06/text-decoder/blob/master/texto.txt) using the program.
## Authors
This project was developed by Ana María Martínez Gómez.
## Licence
Code published under MIT License (see [LICENSE](LICENSE)).