Modify the text generation program in 2.2 further, to do the following tasks: Store the n most likely words in a list words then randomly choose a word from the list using random.choice(). (You will need to import random first.) Select a particular genre, such as a section of the Brown Corpus, or a genesis translation, one of the Gutenberg texts, or one of the Web texts. Train the model on this corpus and get it to generate random text. You may have to experiment with different start words. How intelligible is the text? Discuss the strengths and weaknesses of this method of generating random text. Now train your system using two distinct genres and experiment with generating text in the hybrid genre. Discuss your observations.

Respuesta :

Answer:

Explanation:  

This assessment covers all of the technical methods by which computer programs create and present English text in their outputs. (For simplicity we always call the output language English.) Because text gener-ation has not always been taken seriously from a tech- nical point of view, it has been actively pursued only recently as a topic in artificial intelligence.

Termi is a type of text program that any student or person could you in Interacting better with Customers by automating and personalizing your Messages, Notifications and Service Alerts. The different starts words that we can consider for the above scenario are as follows

dawn.

kickoff.

opening.

outset.

alpha.

birth.

bow.

commencement.

Advantages

1. Lack of Bias 2.Simplicity

Disadvantages

1. Difficulty Accessing Lists of the Full Population 2.Time Consuming

RELAXING NOICE
Relax