Spaces:
Sleeping
Sleeping
from utils.gpt35_summaries.summarizer import Summarizer | |
s = Summarizer() | |
article_text = """ | |
div g alt rchttpswwwaeiorgwpcontentuploads202010thatcherpngx91208 iv pa relnoreferrer noopener efhttpsenwikipediaorgwikimargaret_thatcher margaret hilda pictured above was born on this day october 13 in 1925 and today would have been her birthday unfortunately she died on april 8 2013 at the age of 87 to honor baroness thatcher on her birthday here is my annual tribute to the iron lady in recognition of her significant contributions during her political career including serving as the prime minister of the k from 1979 to 1990 below are some videos quotations and related articles to celebrate prime minister margaret thatchers birthday and her rich legacy defending liberty and freedom and fighting socialism p llowfullscreen width640 height350iframecenter 1 the video above features margaret thatchers address to the conservative party conference in 1983 when she classwpblockquoteplet us never forget this fundamental truth the state has no source of money other than the money people earn themselves if the state wishes to spend more it can do so only by borrowing your savings or by taxing you more ere is no such thing as public money there is only taxpayers te m a very fundamental truth that is frequently forgotten any time you see or hear the terms public funding public funds government funding or government funds be sure to substitute taxpayer funding and taxpayer p 2 here are the five reasons margaret thatcher is still an inspiration to women trong via the a relnoreferrer noopener efhttpiwforgblog2804951topfivereasonsmargaretthatcherisstillaninspirationtowomentoday ndependent on margaret thatchers birthday in 2017 summarized he didnt use her sex to influence her he was he challenged the status he had to work for her he was a modern pp llowfullscreen rchttpswwwyoutubecomembedrv5t6rc6yvg width640 height350iframecenter p 3 the video above is margaret thatchers last house of commons speech on november 22 1990 which is known as thatchers last stand against socialism heres the a relnoreferrer noopener efhttpswwwmargaretthatcherorgdocument108256 full and heres a think that the hon gentleman knows that i have the same contempt for his socialist policies as the people of east europe who have experienced them have for theirs i think that i must have hit the right nail on the head when i pointed out that the logic of those policies is that they would rather the poor were poorer once they start to talk about the gap they would rather that the gap were tem[indicating[emdown here not [indicating[embutem[indicatingem] so long as the gap is smaller they would rather have the poor poorer one does not create wealth and opportunity that way one does not create a ropertyowning democracy that way 4 here are 10 great margaret thatcher quotes which are just as relevant and timely for america today if not more so than they were for the k more than a ercentury ago listen up marx oc thanks to larry reed for a relnoreferrer noopener efhttpswwwfeeorgarticlesmargaretthatcheronsocialism20ofherbestquotesfbclidiwar0ypr1qt8cco_rft4xqrr33_ebujx0aymff6mfhh149d_1uwtiyagjoblk ome of these classwpblockquotep1 the problem with socialism is that you eventually run out of other peoples moneypp2 do you know that one of the great problems of our age is that we are governed by people who care more about feelings than they do about thoughts and deaspp3 i think weve been through a period where too many people have been given to understand that if they have a problem its the governments job to cope with it i have a problem ill get a grant im homeless the government must house me theyre casting their problem on society and you know there is no such thing as society there are individual men and women and there are families and no government can do anything except through people and people must look to themselves first its our duty to look after ourselves and then also to look after our neighbor people have got the too much in mind without the obligations theres no such thing as entitlement unless someone has first met an obligationpp4 no one would remember the good samaritan if hed only had good intentions he had money as wellpp5 the philosophical reason for which we are against nationalization and for private enterprise is because we believe that economic progress comes from the inventiveness ability determination and the pioneering spirit of extraordinary men and women if they cannot exercise that spirit here they will go away to another free enterprise country which will then make more economic progress than we do we ought in fact to be encouraging small firms and small companies because the extent to which innovation comes through these companies is endouspp6 our challenge is to create the kind of economic background which enables private initiative and private enterprise to flourish for the benefit of the consumer employee the pensioner and society as a believe we should judge people on merit and not on background i believe the person who is prepared to work hardest should get the greatest rewards and keep them after tax that we should back the workers and not the shirkers that it is not only permissible but praiseworthy to want to benefit your own family by your own effortspp7 i place a profound eliefindeed a fervent faithin the virtues of elfreliance and personal independence on these is founded the whole case for the free society for the assertion that human progress is best achieved by offering the freest possible scope for the development of individual talents qualified only by a respect for the qualities and the freedom of othersfor many years there has been a subtle erosion of the essential virtues of the free society elfreliance has been sneered at as if it were an absurd suburban pretention thrift has been denigrated as if it were greed the desire of parents to choose and to struggle for what they themselves regarded as the best possible education for their children has been cornedpp8 what are the lessons then that weve learned from the last thirty years first that the pursuit of equality itself is a mirage whats more desirable and more practicable than the pursuit of equality is the pursuit of equality of opportunity and opportunity means nothing unless it includes the right to be unequal and the freedom to be different one of the reasons that we value individuals is not because theyre all the same but because theyre all different i believe you have a saying in the middle west dont cut down the tall poppies let them rather grow tall i would say let our children grow tall and some taller than others if they have the ability in them to do so because we must build a society in which each citizen can develop his full potential both for his own benefit and for the community as a whole a society in which originality skill energy and thrift are rewarded in which we encourage rather than restrict the variety and richness of human naturepp9 some socialists seem to believe that people should be numbers in a state computer we believe they should be individuals we are all unequal no one thank heavens is like anyone else however much the socialists may pretend otherwise we believe that everyone has the right to be unequal but to us every human being is equally mportantpp10 there is no such thing as safe socialism if its safe its not socialism and if its socialism its not safe the signposts of socialism point downhill to less freedom less prosperity downhill to more muddle more failure if we follow them to their destination they will lead this nation into lockquote happy birthday margaret thatcher p e post a efhttpswwwaeiorgcarpediemhappy96thbirthdaymargaretthatcherhappy birthday margaret appeared first on a efhttpswwwaeiorgamerican enterprise institute | |
""" | |
search_string = "most significant contribution of thatcher" | |
print("Focussed summary for search string", f'"{search_string}":') | |
print(s._run_model(article_text, search_string)) | |
print("Vanilla summary:") | |
print(s._run_model(article_text)) | |
# Example output:s | |
# Focussed summary for search string "most significant contribution of thatcher": | |
# In commemoration of former British Prime Minister Margaret Thatcher's birthday, which falls on October 13, American Enterprise Institute pays tribute to her political career and significant contributions, including serving as the Prime Minister of the UK from 1979 to 1990. The article features various videos, quotations, and articles that celebrate Thatcher's rich legacy of defending freedom, liberty, and fighting socialism. The article lists several of Thatcher's speeches, quotes, and her last stand against socialism. | |
# Overall, the article does not explicitly state Thatcher's most significant contribution, but it heavily implies that Thatcher's significant contributions were her defense of liberty and freedom and her fight against socialism. | |
# Vanilla summary: | |
# To commemorate Margaret Thatcher's birthday, born on October 13 in 1925, AEI presents an annual tribute to the Iron Lady. Thatcher's contribution during her political career and her rich legacy defending liberty and freedom and fighting socialism are celebrated. The article provides several videos, quotations, and related articles to commemorate the Prime Minister's birthday and her lasting influence as a female leader in the UK. Among Thatcher's inspirational quotes, she advocated for private enterprise as a means of economic progress, and emphasized the importance of individual responsibility, merit, and personal independence in building a free society. | |