remove libraries the repo does not need
Browse files
README.md
CHANGED
@@ -24,15 +24,12 @@ For more details, evaluation tests, and discussion, please refer to the original
|
|
24 |
```python
|
25 |
# install required libraries if needed
|
26 |
pip install simpletransformers
|
27 |
-
pip install trankit
|
28 |
-
pip install sweetviz
|
29 |
-
|
30 |
|
31 |
# load all libraries
|
32 |
import simpletransformers.classification as cl
|
33 |
import trankit
|
34 |
import pandas as pd
|
35 |
-
import sweetviz as sv
|
36 |
|
37 |
# sample text (exceprt from Donald Trump's inaugural adress in 2017)
|
38 |
sample_text = 'We must protect our borders from the ravages of other countries making our products, stealing our companies, and destroying our jobs. Protection will lead to great prosperity and strength. I will fight for you with every breath in my body – and I will never, ever let you down. America will start winning again, winning like never before. We will bring back our jobs. We will bring back our borders. We will bring back our wealth. And we will bring back our dreams. We will build new roads, and highways, and bridges, and airports, and tunnels, and railways all across our wonderful nation. We will get our people off of welfare and back to work – rebuilding our country with American hands and American labor. We will follow two simple rules: Buy American and Hire American. We will seek friendship and goodwill with the nations of the world – but we do so with the understanding that it is the right of all nations to put their own interests first.'
|
|
|
24 |
```python
|
25 |
# install required libraries if needed
|
26 |
pip install simpletransformers
|
27 |
+
pip install trankit==1.1.1
|
|
|
|
|
28 |
|
29 |
# load all libraries
|
30 |
import simpletransformers.classification as cl
|
31 |
import trankit
|
32 |
import pandas as pd
|
|
|
33 |
|
34 |
# sample text (exceprt from Donald Trump's inaugural adress in 2017)
|
35 |
sample_text = 'We must protect our borders from the ravages of other countries making our products, stealing our companies, and destroying our jobs. Protection will lead to great prosperity and strength. I will fight for you with every breath in my body – and I will never, ever let you down. America will start winning again, winning like never before. We will bring back our jobs. We will bring back our borders. We will bring back our wealth. And we will bring back our dreams. We will build new roads, and highways, and bridges, and airports, and tunnels, and railways all across our wonderful nation. We will get our people off of welfare and back to work – rebuilding our country with American hands and American labor. We will follow two simple rules: Buy American and Hire American. We will seek friendship and goodwill with the nations of the world – but we do so with the understanding that it is the right of all nations to put their own interests first.'
|