mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 22:32:33 +02:00
NER und Sentiment-Pipeline mit Services zur Datenextraktion. --------- Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-authored-by: TrisNol <tristan.nolde@yahoo.de>
33 lines
698 B
Markdown
33 lines
698 B
Markdown
```mermaid
|
|
flowchart LR
|
|
DBConnect["`**Mongo Connect**
|
|
- create connection string
|
|
- establish connection`"]
|
|
|
|
DBRead["`**Mongo Read**
|
|
- read database
|
|
- get fields without attribute 'companies'`"]
|
|
|
|
NER["`**SentimentService**
|
|
- process news article
|
|
- get sentiment`"]
|
|
|
|
DBUpdate["`**Mongo Update Documents**
|
|
- update processed documents
|
|
- add an attribute 'sentiment'`"]
|
|
|
|
id1[["`**SentimentSpacy**
|
|
Sentiment analysis with spaCy`"]]
|
|
|
|
|
|
id3[["`**SentimentTransformer**
|
|
Sentiment analysis with transformer`"]]
|
|
|
|
DBConnect-->DBRead-->NER
|
|
NER--select service-->id1
|
|
NER--select service-->id3
|
|
|
|
id1-->DBUpdate
|
|
id3-->DBUpdate
|
|
```
|