<commit_before># Just use dict to translate the alpha strings to figure

# The effect
```bash
[mageluer@localhost ~]$ cd Documents/github/computational_physics_N2014301040052/exercise_2/
[mageluer@localhost exercise_2]$ tty
/dev/pts/0
[mageluer@localhost exercise_2]$ ll
total 8
-rwxrwxr-x. 1 mageluer mageluer 1686 9月  18 22:31 alpha2ascii.py
-rw-rw-r--. 1 mageluer mageluer  137 9月  18 22:49 READ.md
[mageluer@localhost exercise_2]$ ./alpha2ascii.py Type what you want to generate character ascii art:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
┌─┐┬┐ ┌─┐┬─┐┌─┐┬─┐┌─┐┬ ┬ ┬  ┬ ┐┌ ┬  ┌┬┐┌┐┌┌─┐┬─┐┌─┐┬─┐┌─┐┌┬┐┐ ┌┐ ┌┬ ┬┬ ┬┬ ┬┌─┐
├─┤├┴┐│  │ │├┤ ├┤ │ ┐├─┤ │  │ ├┴┐│  │││││││ │├─┘│ │├┬┘└─┐ │ │ │└┐││││└┬┘└─┤┌─┘
┴ ┴┴─┘└─┘┴─┘└─┘┴  └─┘┴ ┴ ┴ └┘ ┴ ┴┴─┘┴ ┴┘└┘└─┘┴  └─┴┴└─└─┘ ┴ └─┘ └┘└┴┘┴ ┴└─┘└─┘
[mageluer@localhost exercise_2]$ ./alpha2ascii.py 
Type what you want to generate character ascii art:"abcdefghijklmnopqrstuvwxyz"
┌─┐┬┐ ┌─┐┬─┐┌─┐┬─┐┌─┐┬ ┬ ┬  ┬ ┐┌ ┬  ┌┬┐┌┐┌┌─┐┬─┐┌─┐┬─┐┌─┐┌┬┐┐ ┌┐ ┌┬ ┬┬ ┬┬ ┬┌─┐
├─┤├┴┐│  │ │├┤ ├┤ │ ┐├─┤ │  │ ├┴┐│  │││││││ │├─┘│ │├┬┘└─┐ │ │ │└┐││││└┬┘└─┤┌─┘
┴ ┴┴─┘└─┘┴─┘└─┘┴  └─┘┴ ┴ ┴ └┘ ┴ ┴┴─┘┴ ┴┘└┘└─┘┴  └─┴┴└─└─┘ ┴ └─┘ └┘└┴┘┴ ┴└─┘└─┘
[mageluer@localhost exercise_2]$ ./alpha2ascii.py 
Type what you want to generate character ascii art:"MAGELUER DOT GITHUB DOT IO"
┌┬┐┌─┐┌─┐┌─┐┬  ┐ ┌┌─┐┬─┐   ┬─┐┌─┐┌┬┐   ┌─┐ ┬ ┌┬┐┬ ┬┐ ┌┬┐    ┬─┐┌─┐┌┬┐    ┬ ┌─┐
│││├─┤│ ┐├┤ │  │ │├┤ ├┬┘   │ ││ │ │    │ ┐ │  │ ├─┤│ │├┴┐   │ ││ │ │     │ │ │
┴ ┴┴ ┴└─┘└─┘┴─┘└─┘└─┘┴└─   ┴─┘└─┘ ┴    └─┘ ┴  ┴ ┴ ┴└─┘┴─┘   ┴─┘└─┘ ┴     ┴ └─┘
[mageluer@localhost exercise_2]$ ./alpha2ascii.py 
Type what you want to generate character ascii art:"WELCOME TO VISIT"
┬ ┬┌─┐┬  ┌─┐┌─┐┌┬┐┌─┐   ┌┬┐┌─┐   ┐ ┌ ┬ ┌─┐ ┬ ┌┬┐
│││├┤ │  │  │ ││││├┤     │ │ │   └┐│ │ └─┐ │  │ 
└┴┘└─┘┴─┘└─┘└─┘┴ ┴└─┘    ┴ └─┘    └┘ ┴ └─┘ ┴  ┴ 
[mageluer@localhost exercise_2]$ 
```
> by [Mageluer](https://mageluer.github.io) AT <https://mageluer.github.io>

> thanks for [Blessing Studio](https://prinzeugen.net/ascii-art-for-characters/)

<commit_msg>modify the README.md in exercise2<commit_after># Just use dict to translate the alpha strings to figures

## The effect
```bash
[mageluer@localhost ~]$ cd Documents/github/computational_physics_N2014301040052/exercise_2/
[mageluer@localhost exercise_2]$ tty
/dev/pts/0
[mageluer@localhost exercise_2]$ ll
total 8
-rwxrwxr-x. 1 mageluer mageluer 1686 9月  18 22:31 alpha2ascii.py
-rw-rw-r--. 1 mageluer mageluer  137 9月  18 22:49 READ.md
[mageluer@localhost exercise_2]$ ./alpha2ascii.py Type what you want to generate character ascii art:"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
┌─┐┬┐ ┌─┐┬─┐┌─┐┬─┐┌─┐┬ ┬ ┬  ┬ ┐┌ ┬  ┌┬┐┌┐┌┌─┐┬─┐┌─┐┬─┐┌─┐┌┬┐┐ ┌┐ ┌┬ ┬┬ ┬┬ ┬┌─┐
├─┤├┴┐│  │ │├┤ ├┤ │ ┐├─┤ │  │ ├┴┐│  │││││││ │├─┘│ │├┬┘└─┐ │ │ │└┐││││└┬┘└─┤┌─┘
┴ ┴┴─┘└─┘┴─┘└─┘┴  └─┘┴ ┴ ┴ └┘ ┴ ┴┴─┘┴ ┴┘└┘└─┘┴  └─┴┴└─└─┘ ┴ └─┘ └┘└┴┘┴ ┴└─┘└─┘
[mageluer@localhost exercise_2]$ ./alpha2ascii.py 
Type what you want to generate character ascii art:"abcdefghijklmnopqrstuvwxyz"
┌─┐┬┐ ┌─┐┬─┐┌─┐┬─┐┌─┐┬ ┬ ┬  ┬ ┐┌ ┬  ┌┬┐┌┐┌┌─┐┬─┐┌─┐┬─┐┌─┐┌┬┐┐ ┌┐ ┌┬ ┬┬ ┬┬ ┬┌─┐
├─┤├┴┐│  │ │├┤ ├┤ │ ┐├─┤ │  │ ├┴┐│  │││││││ │├─┘│ │├┬┘└─┐ │ │ │└┐││││└┬┘└─┤┌─┘
┴ ┴┴─┘└─┘┴─┘└─┘┴  └─┘┴ ┴ ┴ └┘ ┴ ┴┴─┘┴ ┴┘└┘└─┘┴  └─┴┴└─└─┘ ┴ └─┘ └┘└┴┘┴ ┴└─┘└─┘
[mageluer@localhost exercise_2]$ ./alpha2ascii.py 
Type what you want to generate character ascii art:"MAGELUER DOT GITHUB DOT IO"
┌┬┐┌─┐┌─┐┌─┐┬  ┐ ┌┌─┐┬─┐   ┬─┐┌─┐┌┬┐   ┌─┐ ┬ ┌┬┐┬ ┬┐ ┌┬┐    ┬─┐┌─┐┌┬┐    ┬ ┌─┐
│││├─┤│ ┐├┤ │  │ │├┤ ├┬┘   │ ││ │ │    │ ┐ │  │ ├─┤│ │├┴┐   │ ││ │ │     │ │ │
┴ ┴┴ ┴└─┘└─┘┴─┘└─┘└─┘┴└─   ┴─┘└─┘ ┴    └─┘ ┴  ┴ ┴ ┴└─┘┴─┘   ┴─┘└─┘ ┴     ┴ └─┘
[mageluer@localhost exercise_2]$ ./alpha2ascii.py 
Type what you want to generate character ascii art:"WELCOME TO VISIT"
┬ ┬┌─┐┬  ┌─┐┌─┐┌┬┐┌─┐   ┌┬┐┌─┐   ┐ ┌ ┬ ┌─┐ ┬ ┌┬┐
│││├┤ │  │  │ ││││├┤     │ │ │   └┐│ │ └─┐ │  │ 
└┴┘└─┘┴─┘└─┘└─┘┴ ┴└─┘    ┴ └─┘    └┘ ┴ └─┘ ┴  ┴ 
[mageluer@localhost exercise_2]$ 
```
> by [Mageluer](https://mageluer.github.io) AT <https://mageluer.github.io>

> thanks for [Blessing Studio](https://prinzeugen.net/ascii-art-for-characters/)


{'fraction_non_alphanumeric': 0.37129954841946816, 'fraction_numerical': 0.025840441545408932, 'mean_word_length': 3.8621951219512196, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1263803', 'n_tokens_mistral': 2526, 'n_tokens_neox': 3112, 'n_words': 550}