mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-22 04:22:53 +02:00
Added another example
This commit is contained in:
parent
5a52f61c1c
commit
141070ea16
@ -154,7 +154,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 69,
|
"execution_count": 80,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
@ -205,6 +205,31 @@
|
|||||||
" <td>Meyer Burger bedient ab sofort australischen M...</td>\n",
|
" <td>Meyer Burger bedient ab sofort australischen M...</td>\n",
|
||||||
" <td>de</td>\n",
|
" <td>de</td>\n",
|
||||||
" </tr>\n",
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>4</th>\n",
|
||||||
|
" <td>Meyer Burger enters Australian market and exhi...</td>\n",
|
||||||
|
" <td>en</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>5</th>\n",
|
||||||
|
" <td>J&T Express Vietnam hilft lokalen Handwerksdör...</td>\n",
|
||||||
|
" <td>en</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>6</th>\n",
|
||||||
|
" <td>7 Experten empfehlen die Aktie zum Kauf, 1 Exp...</td>\n",
|
||||||
|
" <td>de</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>7</th>\n",
|
||||||
|
" <td>Microsoft aktie fällt.</td>\n",
|
||||||
|
" <td>de</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>8</th>\n",
|
||||||
|
" <td>Microsoft aktie steigt.</td>\n",
|
||||||
|
" <td>de</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
" </tbody>\n",
|
" </tbody>\n",
|
||||||
"</table>\n",
|
"</table>\n",
|
||||||
"</div>"
|
"</div>"
|
||||||
@ -214,10 +239,15 @@
|
|||||||
"0 Microsoft fails to hit profit expectations en\n",
|
"0 Microsoft fails to hit profit expectations en\n",
|
||||||
"1 Am Aktienmarkt überwieg weiter die Zuversicht,... de\n",
|
"1 Am Aktienmarkt überwieg weiter die Zuversicht,... de\n",
|
||||||
"2 Stocks rallied and the British pound gained. en\n",
|
"2 Stocks rallied and the British pound gained. en\n",
|
||||||
"3 Meyer Burger bedient ab sofort australischen M... de"
|
"3 Meyer Burger bedient ab sofort australischen M... de\n",
|
||||||
|
"4 Meyer Burger enters Australian market and exhi... en\n",
|
||||||
|
"5 J&T Express Vietnam hilft lokalen Handwerksdör... en\n",
|
||||||
|
"6 7 Experten empfehlen die Aktie zum Kauf, 1 Exp... de\n",
|
||||||
|
"7 Microsoft aktie fällt. de\n",
|
||||||
|
"8 Microsoft aktie steigt. de"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"execution_count": 69,
|
"execution_count": 80,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"output_type": "execute_result"
|
"output_type": "execute_result"
|
||||||
}
|
}
|
||||||
@ -235,6 +265,20 @@
|
|||||||
" \"text\": \"Meyer Burger bedient ab sofort australischen Markt und präsentiert sich auf Smart Energy Expo in Sydney.\",\n",
|
" \"text\": \"Meyer Burger bedient ab sofort australischen Markt und präsentiert sich auf Smart Energy Expo in Sydney.\",\n",
|
||||||
" \"lan\": \"de\",\n",
|
" \"lan\": \"de\",\n",
|
||||||
" },\n",
|
" },\n",
|
||||||
|
" {\n",
|
||||||
|
" \"text\": \"Meyer Burger enters Australian market and exhibits at Smart Energy Expo in Sydney.\",\n",
|
||||||
|
" \"lan\": \"en\",\n",
|
||||||
|
" },\n",
|
||||||
|
" {\n",
|
||||||
|
" \"text\": \"J&T Express Vietnam hilft lokalen Handwerksdörfern, ihre Reichweite zu vergrößern.\",\n",
|
||||||
|
" \"lan\": \"en\",\n",
|
||||||
|
" },\n",
|
||||||
|
" {\n",
|
||||||
|
" \"text\": \"7 Experten empfehlen die Aktie zum Kauf, 1 Experte empfiehlt, die Aktie zu halten.\",\n",
|
||||||
|
" \"lan\": \"de\",\n",
|
||||||
|
" },\n",
|
||||||
|
" {\"text\": \"Microsoft aktie fällt.\", \"lan\": \"de\"},\n",
|
||||||
|
" {\"text\": \"Microsoft aktie steigt.\", \"lan\": \"de\"},\n",
|
||||||
" ]\n",
|
" ]\n",
|
||||||
")\n",
|
")\n",
|
||||||
"text_df"
|
"text_df"
|
||||||
@ -242,7 +286,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 71,
|
"execution_count": 81,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"collapsed": false,
|
"collapsed": false,
|
||||||
"jupyter": {
|
"jupyter": {
|
||||||
@ -257,7 +301,12 @@
|
|||||||
"Microsoft fails to hit profit expectations\n",
|
"Microsoft fails to hit profit expectations\n",
|
||||||
"Am Aktienmarkt überwieg weiter die Zuversicht, wie der Kursverlauf des DAX zeigt.\n",
|
"Am Aktienmarkt überwieg weiter die Zuversicht, wie der Kursverlauf des DAX zeigt.\n",
|
||||||
"Stocks rallied and the British pound gained.\n",
|
"Stocks rallied and the British pound gained.\n",
|
||||||
"Meyer Burger bedient ab sofort australischen Markt und präsentiert sich auf Smart Energy Expo in Sydney.\n"
|
"Meyer Burger bedient ab sofort australischen Markt und präsentiert sich auf Smart Energy Expo in Sydney.\n",
|
||||||
|
"Meyer Burger enters Australian market and exhibits at Smart Energy Expo in Sydney.\n",
|
||||||
|
"J&T Express Vietnam hilft lokalen Handwerksdörfern, ihre Reichweite zu vergrößern.\n",
|
||||||
|
"7 Experten empfehlen die Aktie zum Kauf, 1 Experte empfiehlt, die Aktie zu halten.\n",
|
||||||
|
"Microsoft aktie fällt.\n",
|
||||||
|
"Microsoft aktie steigt.\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -321,6 +370,46 @@
|
|||||||
" <td>0.012790</td>\n",
|
" <td>0.012790</td>\n",
|
||||||
" <td>0.870613</td>\n",
|
" <td>0.870613</td>\n",
|
||||||
" </tr>\n",
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>4</th>\n",
|
||||||
|
" <td>Meyer Burger enters Australian market and exhi...</td>\n",
|
||||||
|
" <td>en</td>\n",
|
||||||
|
" <td>0.187527</td>\n",
|
||||||
|
" <td>0.008846</td>\n",
|
||||||
|
" <td>0.803627</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>5</th>\n",
|
||||||
|
" <td>J&T Express Vietnam hilft lokalen Handwerksdör...</td>\n",
|
||||||
|
" <td>en</td>\n",
|
||||||
|
" <td>0.066277</td>\n",
|
||||||
|
" <td>0.020608</td>\n",
|
||||||
|
" <td>0.913115</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>6</th>\n",
|
||||||
|
" <td>7 Experten empfehlen die Aktie zum Kauf, 1 Exp...</td>\n",
|
||||||
|
" <td>de</td>\n",
|
||||||
|
" <td>0.050346</td>\n",
|
||||||
|
" <td>0.022004</td>\n",
|
||||||
|
" <td>0.927650</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>7</th>\n",
|
||||||
|
" <td>Microsoft aktie fällt.</td>\n",
|
||||||
|
" <td>de</td>\n",
|
||||||
|
" <td>0.066061</td>\n",
|
||||||
|
" <td>0.016440</td>\n",
|
||||||
|
" <td>0.917498</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
|
" <tr>\n",
|
||||||
|
" <th>8</th>\n",
|
||||||
|
" <td>Microsoft aktie steigt.</td>\n",
|
||||||
|
" <td>de</td>\n",
|
||||||
|
" <td>0.041449</td>\n",
|
||||||
|
" <td>0.018471</td>\n",
|
||||||
|
" <td>0.940080</td>\n",
|
||||||
|
" </tr>\n",
|
||||||
" </tbody>\n",
|
" </tbody>\n",
|
||||||
"</table>\n",
|
"</table>\n",
|
||||||
"</div>"
|
"</div>"
|
||||||
@ -331,15 +420,25 @@
|
|||||||
"1 Am Aktienmarkt überwieg weiter die Zuversicht,... de 0.053528 0.027950 \n",
|
"1 Am Aktienmarkt überwieg weiter die Zuversicht,... de 0.053528 0.027950 \n",
|
||||||
"2 Stocks rallied and the British pound gained. en 0.898361 0.034474 \n",
|
"2 Stocks rallied and the British pound gained. en 0.898361 0.034474 \n",
|
||||||
"3 Meyer Burger bedient ab sofort australischen M... de 0.116597 0.012790 \n",
|
"3 Meyer Burger bedient ab sofort australischen M... de 0.116597 0.012790 \n",
|
||||||
|
"4 Meyer Burger enters Australian market and exhi... en 0.187527 0.008846 \n",
|
||||||
|
"5 J&T Express Vietnam hilft lokalen Handwerksdör... en 0.066277 0.020608 \n",
|
||||||
|
"6 7 Experten empfehlen die Aktie zum Kauf, 1 Exp... de 0.050346 0.022004 \n",
|
||||||
|
"7 Microsoft aktie fällt. de 0.066061 0.016440 \n",
|
||||||
|
"8 Microsoft aktie steigt. de 0.041449 0.018471 \n",
|
||||||
"\n",
|
"\n",
|
||||||
" - \n",
|
" - \n",
|
||||||
"0 0.032982 \n",
|
"0 0.032982 \n",
|
||||||
"1 0.918522 \n",
|
"1 0.918522 \n",
|
||||||
"2 0.067165 \n",
|
"2 0.067165 \n",
|
||||||
"3 0.870613 "
|
"3 0.870613 \n",
|
||||||
|
"4 0.803627 \n",
|
||||||
|
"5 0.913115 \n",
|
||||||
|
"6 0.927650 \n",
|
||||||
|
"7 0.917498 \n",
|
||||||
|
"8 0.940080 "
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"execution_count": 71,
|
"execution_count": 81,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"output_type": "execute_result"
|
"output_type": "execute_result"
|
||||||
}
|
}
|
||||||
@ -355,6 +454,13 @@
|
|||||||
"analyse_sentiments(text_df)"
|
"analyse_sentiments(text_df)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user