spaCy doesn't use `Term Frequency-Inverse Data Frquency`, unlike most other summarization tools.\
It identifies top sentences by tokenizing the article and calculating/extracting important keywords.\
Then it calculates the importance of single sentences based on keyword appearance.
## Requirements
1. Download correct trained pipeline using `python -m spacy download <name>`. A selection can be found here: [spaCy trained models](https://spacy.io/models)
2. Import the desired trained pipeline: `import <name>` and initialize `nlp` with it: `nlp = <name>.load()`
## Running it
Paste the article you'd like to summarize in the `exampletext.txt` file and run the python file.\
Currently it's configured for texts in the English Language.
## Problems and limitations
- Result does not retain case-sensitivity
- Sentences will be unordered, meaning the result could seem incoherent
- The length of result has to be specified manually
The used code is not pretty and copy-pasted. This just services as a proof-of-concept and an example.