Skip to content

Commit

Permalink
readme upd8
Browse files Browse the repository at this point in the history
  • Loading branch information
TAHRI Ahmed R committed Sep 6, 2019
1 parent 073ca0d commit 17924e4
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align="center">Welcome to Charset for Human πŸ‘‹</h1>
<h1 align="center">Welcome to Charset Detection for Human πŸ‘‹</h1>

<p align="center">
<sup>The Real First Universal Charset Detector</sup><br>
Expand All @@ -24,7 +24,7 @@ This project offer you a alternative to **Universal Charset Encoding Detector**,

| Feature | [Chardet](https://github.com/chardet/chardet) | Charset Normalizer | [cChardet](https://github.com/PyYoshi/cChardet) |
| ------------- | :-------------: | :------------------: | :------------------: |
| `Fast` | ❌<br> 🐌🐌 | ❌<br> 🐌 | βœ… <br>⚑ |
| `Fast` | ❌<br> 🐌🐌 | βœ…<br> | βœ… <br>⚑ |
| `Universal**` | ❌ | βœ… | ❌ |
| `Reliable` **without** distinguishable standards | ❌ | βœ… | βœ… |
| `Reliable` **with** distinguishable standards | βœ… | βœ… | βœ… |
Expand Down Expand Up @@ -56,19 +56,6 @@ This package come with a CLI
```
usage: normalizer [-h] [--verbose] [--normalize] [--replace] [--force]
file [file ...]
positional arguments:
file Filename
optional arguments:
-h, --help show this help message and exit
--verbose Display complementary information about file if any.
--normalize Permit to normalize input file. If not set, program does not
write anything.
--replace Replace file when trying to normalize it instead of creating a
new one.
--force Replace file without asking if you are sure, use this flag with
caution.
```

```bash
Expand Down Expand Up @@ -99,6 +86,11 @@ except IOError as e:
print('Sadly, we are unable to perform charset normalization.', str(e))
```

*Upgrade your code without effort*
```python
from charset_normalizer import detect
```

See wiki for advanced usages. *Todo, not yet available.*

## πŸ˜‡ Why
Expand All @@ -123,7 +115,7 @@ In a way, **I'm brute forcing text decoding.** How cool is that ? 😎
**Wait a minute**, what is chaos/mess and coherence according to **YOU ?**

*Chaos :* I opened hundred of text files, **written by humans**, with the wrong encoding table. **I observed**, then
**I established** some ground rules about **what is obvious** when **it's seems like** a mess.
**I established** some ground rules about **what is obvious** when **it seems like** a mess.
I know that my interpretation of what is chaotic is very subjective, feel free to contribute in order to
improve or rewrite it.

Expand Down

0 comments on commit 17924e4

Please sign in to comment.