Compare commits
No commits in common. "996c4d0143ddc887be1529c852c7561130db1503" and "cf12bcb001d88690f097e651b4cd554d98d088ae" have entirely different histories.
996c4d0143
...
cf12bcb001
44
README.md
44
README.md
@ -1,44 +0,0 @@
|
|||||||
# Isspam
|
|
||||||
Fast as light evaluator for text files to summarize specific details about the text files.
|
|
||||||
|
|
||||||
## Building
|
|
||||||
```
|
|
||||||
make build
|
|
||||||
```
|
|
||||||
## Running
|
|
||||||
### Using files as parameter
|
|
||||||
```
|
|
||||||
./isspam ./spam/*.txt
|
|
||||||
./isspam ./not_spam/*.txt
|
|
||||||
```
|
|
||||||
### Using stdin
|
|
||||||
Useful for automation.
|
|
||||||
```
|
|
||||||
cat ./spam/example_spam1.txt | ./isspam
|
|
||||||
```
|
|
||||||
## Example output
|
|
||||||
```
|
|
||||||
File: ./not_spam/not_spam1.txt
|
|
||||||
Capitalized words: 1
|
|
||||||
Sentences: 5
|
|
||||||
Words: 52
|
|
||||||
Numbers: 0
|
|
||||||
Forbidden words: 0
|
|
||||||
Word count per sentence: 10
|
|
||||||
|
|
||||||
Memory usage: 29 KB, 479 (re)allocated, 327 unqiue free'd, 0 in use.
|
|
||||||
```
|
|
||||||
## Valgrind status
|
|
||||||
Date: 2024-11-28
|
|
||||||
```
|
|
||||||
Memory usage: 1 MB, 6.460 (re)allocated, 4.222 unqiue free'd, 0 in use.
|
|
||||||
==131498==
|
|
||||||
==131498== HEAP SUMMARY:
|
|
||||||
==131498== in use at exit: 0 bytes in 0 blocks
|
|
||||||
==131498== total heap usage: 6,486 allocs, 6,486 frees, 2,342,294 bytes allocated
|
|
||||||
==131498==
|
|
||||||
==131498== All heap blocks were freed -- no leaks are possible
|
|
||||||
==131498==
|
|
||||||
==131498== For lists of detected and suppressed errors, rerun with: -s
|
|
||||||
==131498== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
|
||||||
```
|
|
Loading…
Reference in New Issue
Block a user