This document discusses natural language generation (NLG), which generates natural language text or speech from a data source using logical rules like grammar. It describes simple NLG using text templates or filling in blanks, and more complex NLG involving 6 stages: determination, structure, aggregation, word choice, references, and realization. The document also discusses using artificial intelligence like machine learning to generate text without grammatical analysis, and examples of NLG uses such as product descriptions, chatbots, journalism, and reports. Finally, it covers Generative Pre-trained Transformer 3 (GPT-3), a powerful new NLG model from 2020 that can generate lengthy coherent text from only a few starting words.
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Natural language generation nederlands
1. Wat is het
en wat kunnen we ermee doen?
Natural language
generation
2. Wat is Natural Language Generation
2
Genereert “natural language” (tekst, spraak);
Vertrekkend van een databank;
Gebruikmakend van logische regels (grammatica etc).
2
STT NLU
NLGTTS
3. “Simpele” NLG
3
Text templates, “vul de lege velden in”;
Voorbeeld: Mailchimp;
Voorbeeld : Cards Against Humanity (joke generators);
Op basis van enkele voorbeeldteksten;
Met gedetailleerde grammaticale annotaties.
5. Complicated NLG: the 6 stages
5
Bepaling: beslissen wat vermeld wordt in de tekst;
Structuur: algemene structuur (zinsvolgorde, “flow”);
Samenvoeging: lokale structuur (samenvoegen zinnen, etc.);
Woordkeuze: concepten omzetten in woorden;
(woordenschat kiezen, keuze tussen synoniemen, etc.);
Verwijzingen: juiste voornaamwoorden, geslacht, etc.
gebruiken;
Uitvoering: het eigenlijk genereren;
(correcte grammatica, tijden gebruiken, etc.)
6. NLG met behulp van Artificiële Intelligentie
6
Sla de grammaticale analyse over en gebruik Machine Learning;
Vereist duizenden manueel geschreven voorbeelden per ‘case’;
Voorbeeld: beschrijf afbeeldingen.
7. NLG wordt vaak gebruikt in …
7
Genereer objectbeschrijvingen (webshops);
Genereer chatbotantwoorden uit tabulaire data;
Automated / assisted journalism;
Genereer real-time artikels op basis van tweets etc.;
Vertrek vanaf een basis gegenereerde tekst (beter dan
“lorem ipsum”);
Rapportering (niet-grafische);
Genereer weerberichten uit sensor data;
Genereer system health report uit computer log data;
Maak samenvatting van financiële / medische data;
Genereer Wiki-pagina’s.
8. Generative Pre-trained Transformer 3 (GPT-3)
8
De beste teksten zijn nauwelijks te onderscheiden van door mensen
geschreven stukken;
Kan verder getraind worden voor specifieke opdrachten;
Slaagt erin om (deeltjes van) computerprogramma’s te (helpen) schrijven;
Beperkt beschikbaar voor testen (zomer 2020).
Nieuw en zeer krachtig model dat recent (2020) ontwikkeld werd;
Genereert teksten, soms gewoon op basis van enkele startwoorden of -zinnen;
9. GPT-3: slechts 12% evaluatoren herkenden tekst als kunstmatig
na een starttekstje van de woorden in het rood werd de rest van de tekst gegenereerd
United Methodists Agree to Historic Split
Those who oppose gay marriage will form their own denomination
Article: After two days of intense debate, the United Methodist Church has agreed to a historic split - one that
is expected to end in the creation of a new denomination, one that will be "theologically and socially
conservative," according to The Washington Post. The majority of delegates attending the church's annual
General Conference in May voted to strengthen a ban on the ordination of LGBTQ clergy and to write new rules
that will "discipline" clergy who officiate at same-sex weddings. But those who opposed these measures have a
new plan: They say they will form a separate denomination by 2020, calling their church the Christian
Methodist denomination.
The Post notes that the denomination, which claims 12.5 million members, was in the early 20th century the
"largest Protestant denomination in the U.S.,“ but that it has been shrinking in recent decades. The new split
will be the second in the church's history. The first occurred in 1968, when roughly 10 percent of the
denomination left to form the Evangelical United Brethren Church. The Post notes that the proposed split
"comes at a critical time for the church, which has been losing members for years," which has been "pushed
toward the brink of a schism over the role of LGBTQ people in the church." Gay marriage is not the only issue
that has divided the church. In 2016, the denomination was split over ordination of transgender clergy, with
the North Pacific regional conference voting to ban them from serving as clergy, and the South Pacific regional
conference voting to allow them.
9
10. GPT-3: maar 62% herkenden wel deze tekst
na een starttekstje van de woorden in het rood werd de rest van de tekst gegenereerd
• Title: Star's Tux Promise Draws Megyn Kelly's Sarcasm
• Subtitle: Joaquin Phoenix pledged to not change for each awards event
• Article: A year ago, Joaquin Phoenix made headlines when he appeared on the red carpet at the
Golden Globes wearing a tuxedo with a paper bag over his head that read, "I am a shape-shifter. I
can't change the world. I can only change myself." It was a promise to not change to fit into the
Hollywood mold: "I think that's a really special thing, to not change yourself. I think it's a really
special thing to say, `This is what's inside of me, I'm proud of it, and I'm not going to be ashamed
because of the way that someone else thinks I should be.'" Now, it's the Oscars, and Phoenix is at it
again. But this time, his publicist is saying he'll be wearing a tux no matter what. Megyn Kelly was
not impressed, and she let him have it on The Tonight Show. "You know, I feel like, I feel like you
could have worn the tux," she says. "But you're saying you're a shape-shifter. I don't know if you can
change your tux, but you can change your mind. You can change your mind. You can change your
mind." Phoenix says he did, but it didn't stick. "I was like,`Okay, I'm going to wear a tuxedo to this
thing.' And then I thought, `I don't want to wear a tuxedo to this thing.'" Kelly goes on to encourage
him to change his mind again, but Phoenix says it's too late: "I'm committed to wearing this."
11. Use cases in de overheid
Genereert beschrijvingen van tabulaire data
Vaccinatiegeschiedenis
Tijdschema’s medicatie
Medisch profiel
Laboverslagen omzetten in begrijpelijke tekst
Chatbots - conversational interfaces… ?
11