

Human: Please summarize this article into two short sentences:

Why the craic's coming back to Ireland

After some of the longest Covid-19 restrictions in Europe, Ireland is looking to 2022 and beyond with optimism.

AAfter 20 months of Covid-19 restrictions, one of the longest stretches in Europe, Ireland recently lifted its 20:00 curfew on restaurants, bars, and indoor events and removed limits on the number of people gathered. As a result, residents are heralding the return of the craic, the atmosphere of fun and conversation that permeates the Irish social scene.

"Spring is in the air, figuratively and literally," said Dublin resident Ray Commins, founder of walking tour company Generation Tours. "There's a real sense of optimism as we emerge from a winter (two in fact) of discontent. I don't think there's been a spring or summer we've looked forward to more in my time."

Nowhere is that more evident than in the classic Irish pubs, where socialising and singing have finally returned – a culture no longer taken for granted by the locals.

"We missed it dearly as a society here, and having it back is an incredible boost to morale," said Commins.

Why should I go now?

Dublin, Ireland's capital, is rapidly preparing for its first "proper" St Patrick's Festival since 2019, a four-day celebration from 16 to 20 March, featuring music, the iconic parade, theatre and a food and craft village. Though the capital hosts the largest celebration, many Irish cities, including Cork, Galway and Kilkenny, each host their own parade in honour of the country's patron saint.

The hospitality industry in Ireland expects international travellers to return in droves this summer, so spring and autumn may be the best time to beat the global crowds. Among locals, the vaccination programme has been one of the most successful across Europe, with more than 95% of adults vaccinated and 72% receiving a booster, according to the ECDC.

Travel with no trace

The country has seen a number of new hotel openings and re-openings, all of which have taken sustainability seriously. In County Tipperary, 200km south-west of Dublin, the five-star Cashel Palace Hotel is set to open in March 2022. The hotel composts all its food waste to later be used in its on-site gardens, and sources as much food as possible from producers all within the county's borders, many of which are part of the national food sustainability program Origin Green.

The Wren Urban Nest in Dublin opened in September and aims to be one of Ireland's most sustainable hotels, eschewing the use of any fossil fuels. "They use 100% renewable energy, avoid single-use plastics and source locally as much as possible," said Kate McCabe, co-founder of eco travel company Bog & Thunder. "It's really easy to see their commitment."

Even historical sites like 18th-Century Ballynahinch Castle in Co Galway has embraced its connection and responsibility to the land. The estate has worked to remove invasive plant species and developed a biodiversity plan for the grounds that helps protect the salmon that run within the neighbouring Owenmore River.

McCabe has also been excited to see a renewed commitment to local eating here. "Ireland has really embraced the farm-to-table ethos," she said. "It's quite common for restaurants to list their sources on their menus – a locavore's paradise!"

Ireland has really embraced the farm-to-table ethos
Some of her favourite spots include Kildair-based Aimsir, which serves only food grown, harvested, fished or foraged within the Emerald Isle's borders; and the Wicklow Escape, a small inn 50km south of Dublin that pairs its garden lodgings with local specialties like wild boar and venison pie and Atlantic cod and scallops.

To further connect visitors with the land, McCabe often takes visitors to Cnoc Suain, a hillside settlement on the west coast within a Special Area of Conservation in the Connemara region. The founders offer events and education in the cultural heritage of the region as well as its unique bogland ecology.

Know before you go

Ireland requires either proof of vaccination or proof of recovery from a Covid-19 infection within the past six months. As of 1 February, travellers must also have a booster dose if it has been more than 270 days since the final dose in the initial vaccine series.

Passengers without proof must submit a negative PCR test taken within 72 hours of arrival. For EU residents, Ireland participates in the EU Digital Covid Certificate Program, which provides digital documentation on vaccination status and makes it easier to travel between EU member countries. Travellers must also fill out a Passenger Locator Form before arrival.

Face covering requirements were fully lifted across Ireland in February, with the exception of health-care environments. Many local public health experts within the country still recommend the wearing of masks, but their use is voluntary. Visit the Citizens Information Board Covid page for the most updated information and requirements.

Assistant: The COVID-19 outbreak that began in late 2019 and peaked in 2020 had major impacts on Europe, including Ireland. In particular, Ireland suffered very high levels of underlying chronic illness (compared to other European countries) and experienced substantial casualties from the virus, due to its aging population and higher rate of high-risk medical conditions. As a result, Ireland has taken some of the most ambitious and extensive measures against the spread of COVID-19 and, as of 1st February 2021, the virus remains under control in the country. 

Ireland has taken a multi-faceted approach to limiting the transmission of COVID-19 in order to control the spread and reduce the impact. As part of these efforts, Ireland had stiff restrictions, including a national curfew aimed at reducing social interactions outside the home, from March until September 2020. After a gap of almost seven months with no new locally-acquired cases, on 4th February, Ireland allowed indoor gatherings to resume at up to 10 people, though a further public-health emergency may be declared if case number rise quickly. Mask-wearing is still mandatory in indoor public spaces. 

Ireland is in Phase 4 of the Government's five-phased recovery plan, given that it is the phase where travel restrictions on non-essential travel begin to lift and most non-essential businesses can re-open and operate at full capacity. After a winter where it was not possible to host the large events held annually at the biggest festival of the year, St Patrick’s Festival, in Dublin, the festival is now back and will run from 16th-20th March. Ireland will be also celebrating its 100th year as a republic during 2021.


Human: Please summarize this article into two short sentences:

Why the craic's coming back to Ireland

After some of the longest Covid-19 restrictions in Europe, Ireland is looking to 2022 and beyond with optimism.

AAfter 20 months of Covid-19 restrictions, one of the longest stretches in Europe, Ireland recently lifted its 20:00 curfew on restaurants, bars, and indoor events and removed limits on the number of people gathered. As a result, residents are heralding the return of the craic, the atmosphere of fun and conversation that permeates the Irish social scene.

"Spring is in the air, figuratively and literally," said Dublin resident Ray Commins, founder of walking tour company Generation Tours. "There's a real sense of optimism as we emerge from a winter (two in fact) of discontent. I don't think there's been a spring or summer we've looked forward to more in my time."

Nowhere is that more evident than in the classic Irish pubs, where socialising and singing have finally returned – a culture no longer taken for granted by the locals.

"We missed it dearly as a society here, and having it back is an incredible boost to morale," said Commins.

Why should I go now?

Dublin, Ireland's capital, is rapidly preparing for its first "proper" St Patrick's Festival since 2019, a four-day celebration from 16 to 20 March, featuring music, the iconic parade, theatre and a food and craft village. Though the capital hosts the largest celebration, many Irish cities, including Cork, Galway and Kilkenny, each host their own parade in honour of the country's patron saint.

The hospitality industry in Ireland expects international travellers to return in droves this summer, so spring and autumn may be the best time to beat the global crowds. Among locals, the vaccination programme has been one of the most successful across Europe, with more than 95% of adults vaccinated and 72% receiving a booster, according to the ECDC.

Travel with no trace

The country has seen a number of new hotel openings and re-openings, all of which have taken sustainability seriously. In County Tipperary, 200km south-west of Dublin, the five-star Cashel Palace Hotel is set to open in March 2022. The hotel composts all its food waste to later be used in its on-site gardens, and sources as much food as possible from producers all within the county's borders, many of which are part of the national food sustainability program Origin Green.

The Wren Urban Nest in Dublin opened in September and aims to be one of Ireland's most sustainable hotels, eschewing the use of any fossil fuels. "They use 100% renewable energy, avoid single-use plastics and source locally as much as possible," said Kate McCabe, co-founder of eco travel company Bog & Thunder. "It's really easy to see their commitment."

Even historical sites like 18th-Century Ballynahinch Castle in Co Galway has embraced its connection and responsibility to the land. The estate has worked to remove invasive plant species and developed a biodiversity plan for the grounds that helps protect the salmon that run within the neighbouring Owenmore River.

McCabe has also been excited to see a renewed commitment to local eating here. "Ireland has really embraced the farm-to-table ethos," she said. "It's quite common for restaurants to list their sources on their menus – a locavore's paradise!"

Ireland has really embraced the farm-to-table ethos
Some of her favourite spots include Kildair-based Aimsir, which serves only food grown, harvested, fished or foraged within the Emerald Isle's borders; and the Wicklow Escape, a small inn 50km south of Dublin that pairs its garden lodgings with local specialties like wild boar and venison pie and Atlantic cod and scallops.

To further connect visitors with the land, McCabe often takes visitors to Cnoc Suain, a hillside settlement on the west coast within a Special Area of Conservation in the Connemara region. The founders offer events and education in the cultural heritage of the region as well as its unique bogland ecology.

Know before you go

Ireland requires either proof of vaccination or proof of recovery from a Covid-19 infection within the past six months. As of 1 February, travellers must also have a booster dose if it has been more than 270 days since the final dose in the initial vaccine series.

Passengers without proof must submit a negative PCR test taken within 72 hours of arrival. For EU residents, Ireland participates in the EU Digital Covid Certificate Program, which provides digital documentation on vaccination status and makes it easier to travel between EU member countries. Travellers must also fill out a Passenger Locator Form before arrival.

Face covering requirements were fully lifted across Ireland in February, with the exception of health-care environments. Many local public health experts within the country still recommend the wearing of masks, but their use is voluntary. Visit the Citizens Information Board Covid page for the most updated information and requirements.

Assistant: Here is a summarization of the article:

After 20 months of COVID-19 restrictions, Ireland reopened its nightlife and social scene in early March. Restaurants and shops can now stay open late and events and music venues can welcome indoor audiences again, and the country is celebrating a return to normality. Although international travel is still restricted, Ireland is a top destination for domestic visitors seeking green scenery and locally sourced foods. Popular festivals like the St. Patrick's Day parade in Dublin and the Kilkenny Medieval Festival are planned to open in March, welcoming tourists and locals alike, while new hotel openings build on the country's sustainable tourism initiatives."

(Summary and paraphrase by AI Writer supplied by Dialogue International Ltd. Head Office: 3 Brazier Court, London, E9 5NX, United Kingdom. +44 (0) 203 NLP Practitioner)
© 2019 Copyright Dialogue International Limited. All rights reserved. This article is copyright. Do not reproduce with out the written permission of Dialogue International.


"""

os.chdir(DATA_FOLDER)

def template_paraphrase(string_to_paraphrase):

    new_string = nltk.sent_tokenize(string_to_paraphrase) #tokenize plaintext input into sentence chunks

    paraphrases = []

    for sentence in range(len(new_string)): #iterate through each sentence in the plaintext input text

        processed_sentences = (spacy.load('en', parser=False)).tokenizer(new_string[sentence]) # load spacy English, without parser and tokenize

        s_lower = [w.lower() for w in processed_sentences] # lowercase tokenized sentences

        paraphrases.append(list(ngrams(s_lower, n=int(paraphrase_ngram)))) # iterate through ngrams of tokenized sentences


    return paraphrases

#test
# paraphrases = template_paraphrase('temperature variations in the greenhouse cause strong changes to the local climate. They effect circulation patterns and influence substantial properties of water, air and land systems. Water in the soil can support the growth of plants abundantly, while abnormally high concentrations can be extremely harmful for plant growth and cause drought. Increasing levels of atmospheric carbon dioxide are leading to rising temperatures and sea levels. This is drastically changing the landscapes, and causes dangerous heatwaves and extreme weather events.')

# print(paraphrases)

def split_input_and_answer(query):

    sep = '================================'
    line_length = 32

    if len(query) < line_length:

        length = len(query)
        output = query

        return output

    else:
        output = []
        length = len(query)
        input_query = []
        answer = []

        line_counter = 0

        for line in range(0, length, line_length):

            line_counter = line_counter + 1

            input_query.append(query[:line_length])
            query_remainder = query[line_length:]
            assert(len(query_remainder) > 16), 'Input query length is below the allowed line length.'

            answer.append(query_remainder)

        assert(len(answer) > 1), 'Output length should be greater than one because input is a multiple-line string.'

        output = input_query[-1:]
        output.extend(answer)

        output.insert(0, sep)
        output.insert(0, query)

        return output


# test
# input = 'There is a strong scientific consensus that human activities are the primary cause of global climate change and global warming. Increasing surface temperatures, sea levels, air, water temperature, ocean acidification, and extreme weather and climate events are all contributing to the impacts on human, ocean and ecological systems and habitats since the mid-
Please summarize this article into two short sentences:

Why the craic's coming back to Ireland

After some of the longest Covid-19 restrictions in Europe, Ireland is looking to 2022 and beyond with optimism.

AAfter 20 months of Covid-19 restrictions, one of the longest stretches in Europe, Ireland recently lifted its 20:00 curfew on restaurants, bars, and indoor events and removed limits on the number of people gathered. As a result, residents are heralding the return of the craic, the atmosphere of fun and conversation that permeates the Irish social scene.

"Spring is in the air, figuratively and literally," said Dublin resident Ray Commins, founder of walking tour company Generation Tours. "There's a real sense of optimism as we emerge from a winter (two in fact) of discontent. I don't think there's been a spring or summer we've looked forward to more in my time."

Nowhere is that more evident than in the classic Irish pubs, where socialising and singing have finally returned – a culture no longer taken for granted by the locals.

"We missed it dearly as a society here, and having it back is an incredible boost to morale," said Commins.

Why should I go now?

Dublin, Ireland's capital, is rapidly preparing for its first "proper" St Patrick's Festival since 2019, a four-day celebration from 16 to 20 March, featuring music, the iconic parade, theatre and a food and craft village. Though the capital hosts the largest celebration, many Irish cities, including Cork, Galway and Kilkenny, each host their own parade in honour of the country's patron saint.

The hospitality industry in Ireland expects international travellers to return in droves this summer, so spring and autumn may be the best time to beat the global crowds. Among locals, the vaccination programme has been one of the most successful across Europe, with more than 95% of adults vaccinated and 72% receiving a booster, according to the ECDC.

Travel with no trace

The country has seen a number of new hotel openings and re-openings, all of which have taken sustainability seriously. In County Tipperary, 200km south-west of Dublin, the five-star Cashel Palace Hotel is set to open in March 2022. The hotel composts all its food waste to later be used in its on-site gardens, and sources as much food as possible from producers all within the county's borders, many of which are part of the national food sustainability program Origin Green.

The Wren Urban Nest in Dublin opened in September and aims to be one of Ireland's most sustainable hotels, eschewing the use of any fossil fuels. "They use 100% renewable energy, avoid single-use plastics and source locally as much as possible," said Kate McCabe, co-founder of eco travel company Bog & Thunder. "It's really easy to see their commitment."

Even historical sites like 18th-Century Ballynahinch Castle in Co Galway has embraced its connection and responsibility to the land. The estate has worked to remove invasive plant species and developed a biodiversity plan for the grounds that helps protect the salmon that run within the neighbouring Owenmore River.

McCabe has also been excited to see a renewed commitment to local eating here. "Ireland has really embraced the farm-to-table ethos," she said. "It's quite common for restaurants to list their sources on their menus – a locavore's paradise!"

Ireland has really embraced the farm-to-table ethos
Some of her favourite spots include Kildair-based Aimsir, which serves only food grown, harvested, fished or foraged within the Emerald Isle's borders; and the Wicklow Escape, a small inn 50km south of Dublin that pairs its garden lodgings with local specialties like wild boar and venison pie and Atlantic cod and scallops.

To further connect visitors with the land, McCabe often takes visitors to Cnoc Suain, a hillside settlement on the west coast within a Special Area of Conservation in the Connemara region. The founders offer events and education in the cultural heritage of the region as well as its unique bogland ecology.

Know before you go

Ireland requires either proof of vaccination or proof of recovery from a Covid-19 infection within the past six months. As of 1 February, travellers must also have a booster dose if it has been more than 270 days since the final dose in the initial vaccine series.

Passengers without proof must submit a negative PCR test taken within 72 hours of arrival. For EU residents, Ireland participates in the EU Digital Covid Certificate Program, which provides digital documentation on vaccination status and makes it easier to travel between EU member countries. Travellers must also fill out a Passenger Locator Form before arrival.

Face covering requirements were fully lifted across Ireland in February, with the exception of health-care environments. Many local public health experts within the country still recommend the wearing of masks, but their use is voluntary. Visit the Citizens Information Board Covid page for the most updated information and requirements.
user
The COVID-19 outbreak that began in late 2019 and peaked in 2020 had major impacts on Europe, including Ireland. In particular, Ireland suffered very high levels of underlying chronic illness (compared to other European countries) and experienced substantial casualties from the virus, due to its aging population and higher rate of high-risk medical conditions. As a result, Ireland has taken some of the most ambitious and extensive measures against the spread of COVID-19 and, as of 1st February 2021, the virus remains under control in the country. 

Ireland has taken a multi-faceted approach to limiting the transmission of COVID-19 in order to control the spread and reduce the impact. As part of these efforts, Ireland had stiff restrictions, including a national curfew aimed at reducing social interactions outside the home, from March until September 2020. After a gap of almost seven months with no new locally-acquired cases, on 4th February, Ireland allowed indoor gatherings to resume at up to 10 people, though a further public-health emergency may be declared if case number rise quickly. Mask-wearing is still mandatory in indoor public spaces. 

Ireland is in Phase 4 of the Government's five-phased recovery plan, given that it is the phase where travel restrictions on non-essential travel begin to lift and most non-essential businesses can re-open and operate at full capacity. After a winter where it was not possible to host the large events held annually at the biggest festival of the year, St Patrick’s Festival, in Dublin, the festival is now back and will run from 16th-20th March. Ireland will be also celebrating its 100th year as a republic during 2021.
assistant
Please summarize this article into two short sentences:

Why the craic's coming back to Ireland

After some of the longest Covid-19 restrictions in Europe, Ireland is looking to 2022 and beyond with optimism.

AAfter 20 months of Covid-19 restrictions, one of the longest stretches in Europe, Ireland recently lifted its 20:00 curfew on restaurants, bars, and indoor events and removed limits on the number of people gathered. As a result, residents are heralding the return of the craic, the atmosphere of fun and conversation that permeates the Irish social scene.

"Spring is in the air, figuratively and literally," said Dublin resident Ray Commins, founder of walking tour company Generation Tours. "There's a real sense of optimism as we emerge from a winter (two in fact) of discontent. I don't think there's been a spring or summer we've looked forward to more in my time."

Nowhere is that more evident than in the classic Irish pubs, where socialising and singing have finally returned – a culture no longer taken for granted by the locals.

"We missed it dearly as a society here, and having it back is an incredible boost to morale," said Commins.

Why should I go now?

Dublin, Ireland's capital, is rapidly preparing for its first "proper" St Patrick's Festival since 2019, a four-day celebration from 16 to 20 March, featuring music, the iconic parade, theatre and a food and craft village. Though the capital hosts the largest celebration, many Irish cities, including Cork, Galway and Kilkenny, each host their own parade in honour of the country's patron saint.

The hospitality industry in Ireland expects international travellers to return in droves this summer, so spring and autumn may be the best time to beat the global crowds. Among locals, the vaccination programme has been one of the most successful across Europe, with more than 95% of adults vaccinated and 72% receiving a booster, according to the ECDC.

Travel with no trace

The country has seen a number of new hotel openings and re-openings, all of which have taken sustainability seriously. In County Tipperary, 200km south-west of Dublin, the five-star Cashel Palace Hotel is set to open in March 2022. The hotel composts all its food waste to later be used in its on-site gardens, and sources as much food as possible from producers all within the county's borders, many of which are part of the national food sustainability program Origin Green.

The Wren Urban Nest in Dublin opened in September and aims to be one of Ireland's most sustainable hotels, eschewing the use of any fossil fuels. "They use 100% renewable energy, avoid single-use plastics and source locally as much as possible," said Kate McCabe, co-founder of eco travel company Bog & Thunder. "It's really easy to see their commitment."

Even historical sites like 18th-Century Ballynahinch Castle in Co Galway has embraced its connection and responsibility to the land. The estate has worked to remove invasive plant species and developed a biodiversity plan for the grounds that helps protect the salmon that run within the neighbouring Owenmore River.

McCabe has also been excited to see a renewed commitment to local eating here. "Ireland has really embraced the farm-to-table ethos," she said. "It's quite common for restaurants to list their sources on their menus – a locavore's paradise!"

Ireland has really embraced the farm-to-table ethos
Some of her favourite spots include Kildair-based Aimsir, which serves only food grown, harvested, fished or foraged within the Emerald Isle's borders; and the Wicklow Escape, a small inn 50km south of Dublin that pairs its garden lodgings with local specialties like wild boar and venison pie and Atlantic cod and scallops.

To further connect visitors with the land, McCabe often takes visitors to Cnoc Suain, a hillside settlement on the west coast within a Special Area of Conservation in the Connemara region. The founders offer events and education in the cultural heritage of the region as well as its unique bogland ecology.

Know before you go

Ireland requires either proof of vaccination or proof of recovery from a Covid-19 infection within the past six months. As of 1 February, travellers must also have a booster dose if it has been more than 270 days since the final dose in the initial vaccine series.

Passengers without proof must submit a negative PCR test taken within 72 hours of arrival. For EU residents, Ireland participates in the EU Digital Covid Certificate Program, which provides digital documentation on vaccination status and makes it easier to travel between EU member countries. Travellers must also fill out a Passenger Locator Form before arrival.

Face covering requirements were fully lifted across Ireland in February, with the exception of health-care environments. Many local public health experts within the country still recommend the wearing of masks, but their use is voluntary. Visit the Citizens Information Board Covid page for the most updated information and requirements.
user
Here is a summarization of the article:

After 20 months of COVID-19 restrictions, Ireland reopened its nightlife and social scene in early March. Restaurants and shops can now stay open late and events and music venues can welcome indoor audiences again, and the country is celebrating a return to normality. Although international travel is still restricted, Ireland is a top destination for domestic visitors seeking green scenery and locally sourced foods. Popular festivals like the St. Patrick's Day parade in Dublin and the Kilkenny Medieval Festival are planned to open in March, welcoming tourists and locals alike, while new hotel openings build on the country's sustainable tourism initiatives."

(Summary and paraphrase by AI Writer supplied by Dialogue International Ltd. Head Office: 3 Brazier Court, London, E9 5NX, United Kingdom. +44 (0) 203 NLP Practitioner)
© 2019 Copyright Dialogue International Limited. All rights reserved. This article is copyright. Do not reproduce with out the written permission of Dialogue International.


"""

os.chdir(DATA_FOLDER)

def template_paraphrase(string_to_paraphrase):

    new_string = nltk.sent_tokenize(string_to_paraphrase) #tokenize plaintext input into sentence chunks

    paraphrases = []

    for sentence in range(len(new_string)): #iterate through each sentence in the plaintext input text

        processed_sentences = (spacy.load('en', parser=False)).tokenizer(new_string[sentence]) # load spacy English, without parser and tokenize

        s_lower = [w.lower() for w in processed_sentences] # lowercase tokenized sentences

        paraphrases.append(list(ngrams(s_lower, n=int(paraphrase_ngram)))) # iterate through ngrams of tokenized sentences


    return paraphrases

#test
# paraphrases = template_paraphrase('temperature variations in the greenhouse cause strong changes to the local climate. They effect circulation patterns and influence substantial properties of water, air and land systems. Water in the soil can support the growth of plants abundantly, while abnormally high concentrations can be extremely harmful for plant growth and cause drought. Increasing levels of atmospheric carbon dioxide are leading to rising temperatures and sea levels. This is drastically changing the landscapes, and causes dangerous heatwaves and extreme weather events.')

# print(paraphrases)

def split_input_and_answer(query):

    sep = '================================'
    line_length = 32

    if len(query) < line_length:

        length = len(query)
        output = query

        return output

    else:
        output = []
        length = len(query)
        input_query = []
        answer = []

        line_counter = 0

        for line in range(0, length, line_length):

            line_counter = line_counter + 1

            input_query.append(query[:line_length])
            query_remainder = query[line_length:]
            assert(len(query_remainder) > 16), 'Input query length is below the allowed line length.'

            answer.append(query_remainder)

        assert(len(answer) > 1), 'Output length should be greater than one because input is a multiple-line string.'

        output = input_query[-1:]
        output.extend(answer)

        output.insert(0, sep)
        output.insert(0, query)

        return output


# test
# input = 'There is a strong scientific consensus that human activities are the primary cause of global climate change and global warming. Increasing surface temperatures, sea levels, air, water temperature, ocean acidification, and extreme weather and climate events are all contributing to the impacts on human, ocean and ecological systems and habitats since the mid-
assistant
Please summarize this article into two short sentences:

Why the craic's coming back to Ireland

After some of the longest Covid-19 restrictions in Europe, Ireland is looking to 2022 and beyond with optimism.

AAfter 20 months of Covid-19 restrictions, one of the longest stretches in Europe, Ireland recently lifted its 20:00 curfew on restaurants, bars, and indoor events and removed limits on the number of people gathered. As a result, residents are heralding the return of the craic, the atmosphere of fun and conversation that permeates the Irish social scene.

"Spring is in the air, figuratively and literally," said Dublin resident Ray Commins, founder of walking tour company Generation Tours. "There's a real sense of optimism as we emerge from a winter (two in fact) of discontent. I don't think there's been a spring or summer we've looked forward to more in my time."

Nowhere is that more evident than in the classic Irish pubs, where socialising and singing have finally returned – a culture no longer taken for granted by the locals.

"We missed it dearly as a society here, and having it back is an incredible boost to morale," said Commins.

Why should I go now?

Dublin, Ireland's capital, is rapidly preparing for its first "proper" St Patrick's Festival since 2019, a four-day celebration from 16 to 20 March, featuring music, the iconic parade, theatre and a food and craft village. Though the capital hosts the largest celebration, many Irish cities, including Cork, Galway and Kilkenny, each host their own parade in honour of the country's patron saint.

The hospitality industry in Ireland expects international travellers to return in droves this summer, so spring and autumn may be the best time to beat the global crowds. Among locals, the vaccination programme has been one of the most successful across Europe, with more than 95% of adults vaccinated and 72% receiving a booster, according to the ECDC.

Travel with no trace

The country has seen a number of new hotel openings and re-openings, all of which have taken sustainability seriously. In County Tipperary, 200km south-west of Dublin, the five-star Cashel Palace Hotel is set to open in March 2022. The hotel composts all its food waste to later be used in its on-site gardens, and sources as much food as possible from producers all within the county's borders, many of which are part of the national food sustainability program Origin Green.

The Wren Urban Nest in Dublin opened in September and aims to be one of Ireland's most sustainable hotels, eschewing the use of any fossil fuels. "They use 100% renewable energy, avoid single-use plastics and source locally as much as possible," said Kate McCabe, co-founder of eco travel company Bog & Thunder. "It's really easy to see their commitment."

Even historical sites like 18th-Century Ballynahinch Castle in Co Galway has embraced its connection and responsibility to the land. The estate has worked to remove invasive plant species and developed a biodiversity plan for the grounds that helps protect the salmon that run within the neighbouring Owenmore River.

McCabe has also been excited to see a renewed commitment to local eating here. "Ireland has really embraced the farm-to-table ethos," she said. "It's quite common for restaurants to list their sources on their menus – a locavore's paradise!"

Ireland has really embraced the farm-to-table ethos
Some of her favourite spots include Kildair-based Aimsir, which serves only food grown, harvested, fished or foraged within the Emerald Isle's borders; and the Wicklow Escape, a small inn 50km south of Dublin that pairs its garden lodgings with local specialties like wild boar and venison pie and Atlantic cod and scallops.

To further connect visitors with the land, McCabe often takes visitors to Cnoc Suain, a hillside settlement on the west coast within a Special Area of Conservation in the Connemara region. The founders offer events and education in the cultural heritage of the region as well as its unique bogland ecology.

Know before you go

Ireland requires either proof of vaccination or proof of recovery from a Covid-19 infection within the past six months. As of 1 February, travellers must also have a booster dose if it has been more than 270 days since the final dose in the initial vaccine series.

Passengers without proof must submit a negative PCR test taken within 72 hours of arrival. For EU residents, Ireland participates in the EU Digital Covid Certificate Program, which provides digital documentation on vaccination status and makes it easier to travel between EU member countries. Travellers must also fill out a Passenger Locator Form before arrival.

Face covering requirements were fully lifted across Ireland in February, with the exception of health-care environments. Many local public health experts within the country still recommend the wearing of masks, but their use is voluntary. Visit the Citizens Information Board Covid page for the most updated information and requirements.
user
Here is a summarization of the article:

After 20 months of COVID-19 restrictions, Ireland reopened its nightlife and social scene in early March. Restaurants and shops can now stay open late and events and music venues can welcome indoor audiences again, and the country is celebrating a return to normality. Although international travel is still restricted, Ireland is a top destination for domestic visitors seeking green scenery and locally sourced foods. Popular festivals like the St. Patrick's Day parade in Dublin and the Kilkenny Medieval Festival are planned to open in March, welcoming tourists and locals alike, while new hotel openings build on the country's sustainable tourism initiatives."

(Summary and paraphrase by AI Writer supplied by Dialogue International Ltd. Head Office: 3 Brazier Court, London, E9 5NX, United Kingdom. +44 (0) 203 NLP Practitioner)
© 2019 Copyright Dialogue International Limited. All rights reserved. This article is copyright. Do not reproduce with out the written permission of Dialogue International.


"""

os.chdir(DATA_FOLDER)

def template_paraphrase(string_to_paraphrase):

    new_string = nltk.sent_tokenize(string_to_paraphrase) #tokenize plaintext input into sentence chunks

    paraphrases = []

    for sentence in range(len(new_string)): #iterate through each sentence in the plaintext input text

        processed_sentences = (spacy.load('en', parser=False)).tokenizer(new_string[sentence]) # load spacy English, without parser and tokenize

        s_lower = [w.lower() for w in processed_sentences] # lowercase tokenized sentences

        paraphrases.append(list(ngrams(s_lower, n=int(paraphrase_ngram)))) # iterate through ngrams of tokenized sentences


    return paraphrases

#test
# paraphrases = template_paraphrase('temperature variations in the greenhouse cause strong changes to the local climate. They effect circulation patterns and influence subst
assistant