import nltk from nltk.corpus import stopwords from nltk.tokenize import word_tokenize from collections import Counter # Text processing text = “"”New Zealand passes legislation banning cigarettes for future generations - Published New Zealand will phase in a near-total tobacco ban from next year. Legislation passed by parliament on Tuesday means that anyone born after 2008 will never be able to buy cigarettes or tobacco products. It will mean the number of people able to buy tobacco will shrink each year. By 2050, for example, 40-year-olds will be too young to buy cigarettes. Health Minister Ayesha Verrall, who introduced the bill, said it was a step “towards a smoke-free future”. “Thousands of people will live longer, healthier lives and the health system will be NZ$5 billion (US$3.2 billion) better off from not needing to treat the illnesses caused by smoking,” Dr Verrall said. New Zealand’s smoking rate is already at historic lows, with just 8% of adults smoking daily according to government statistic released in November - down from 9.4% last year. It is hoped that the Smokefree Environments Bill will reduce that number to less than 5% by 2025, with the eventual aim of eliminating the practice altogether. The bill is also designed to limit the number of retailers able to sell smoked tobacco products to 600 nationwide - down from 6,000 currently - and reduce nicotine levels in products to make them less addictive. “It means nicotine will be reduced to non-addictive levels and communities will be free from the proliferation and clustering of retailers who target and sell tobacco products in certain areas,” Dr Verrall said. She added that the legislation could close the life expectancy between Maori and non-Maori citizens. The overall smoking rate for Maori citizens is at 19.9% - down from last year’s figure of 22.3%. The new legislation does not ban vape products, which have become far more popular among younger generations than cigarettes. Critics of the bill - including the ACT party which holds 10 seats in parliament - have warned that the policy could fuel a black market in tobacco products and kill off small shops. “No one wants to see people smoke, but the reality is, some will and Labour’s nanny state prohibition is going to cause problems,” said ACT Deputy Leader Brooke van Velden.””” # Tokenization tokens = word_tokenize(text.lower()) # Remove stopwords stop_words = set(stopwords.words(‘english’)) tokens = [token for token in tokens if token.isalnum() and token not in stop_words] # Count word frequencies word_freq = Counter(tokens) # Get top 10 most relevant keywords top_keywords = word_freq.most_common(10) KEYWORDS = [keyword[0] for keyword in top_keywords] KEYWORDS # Identify themes or categories THEMES = [‘health’, ‘legislation’, ‘tobacco’] # Summary summary = “"”New Zealand has passed legislation banning cigarettes for future generations. The near-total tobacco ban will be phased in from next year, preventing anyone born after 2008 from buying cigarettes or tobacco products. The number of people able to buy tobacco will decrease each year, with the aim of creating a smoke-free future. Health Minister Ayesha Verrall introduced the bill, highlighting the positive impact it will have on public health and the healthcare system. New Zealand’s smoking rate is already at historic lows, and the legislation aims to further reduce it to less than 5% by 2025. The bill also includes measures to limit the number of retailers selling tobacco products and reduce nicotine levels. While the legislation does not ban vape products, critics have expressed concerns about potential black market activity and the impact on small shops.””” print(“Summary:”, summary)
Signal | Change | 10y horizon | Driving force |
---|---|---|---|
New Zealand passes legislation banning cigarettes for future generations | Phasing out tobacco products for future generations | Decrease in smoking rates, healthier population, reduced healthcare costs | Improving public health and reducing healthcare costs |