mmochtak commited on
Commit
e200b63
·
verified ·
1 Parent(s): f1b7949

update of the sample text

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -31,8 +31,8 @@ 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.'
36
 
37
  # load the trankit pipeline with the English model; this pipe uses a deep learning model for sentence tokenization (much more precise than rule-based models)
38
  p = trankit.Pipeline(lang='english', embedding='xlm-roberta-base', gpu=True, cache_dir='./cache')
 
31
  import trankit
32
  import pandas as pd
33
 
34
+ # sample text (excerpt from the UNGD 2024 speech delivered by Song Kim, Permanent Representative of the Democratic People’s Republic of Korea at the UN.)
35
+ sample_text = 'Joining here are the member states of NATO, which is an outside force beyond the region and an exclusive military bloc. They are strengthening military cooperation with the U.S. and ROK, abusing the signboard of UN command, which should have been dismantled decades ago, in accordance with the UNGA resolution. They are storing up military confrontation still further by deploying warships and aircrafts in the hotspot region of the Korean Peninsula. Such being the case, they blame us for threatening them. and the peace and stability of the region and beyond with nuclear weapons. Then who had developed and used nuclear weapons against humanity for the first time in history? Who has introduced nuclear weapons into the Korean Peninsula in the last century and posed a nuclear threat to the DPRK over the century? Who on earth is talking unhesitatingly about the end of regime of a sovereign state and maintaining first use of nuclear weapons against the DPRK as its national policy? It is not that the DPRK's position of nuclear weapons makes the U.S. hostile towards us.'
36
 
37
  # load the trankit pipeline with the English model; this pipe uses a deep learning model for sentence tokenization (much more precise than rule-based models)
38
  p = trankit.Pipeline(lang='english', embedding='xlm-roberta-base', gpu=True, cache_dir='./cache')