Skip to content

Commit

Permalink
changes per request
Browse files Browse the repository at this point in the history
  • Loading branch information
softchris committed Jun 24, 2021
1 parent 6ebf43a commit b9604d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions 6-NLP/2-Tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Probably the first thing most NLP algorithms have to do is to split the text int

### Parsing & Part-of-speech Tagging

Every word, that has been tokenized, can be tagged as a part of speech - a noun, verb, or adjective etc. The sentence `the quick red fox jumped over the lazy brown dog` might be POS tagged as *fox* = noun, *jumped* = verb etc.
Every word that has been tokenized can be tagged as a part of speech - a noun, verb, or adjective. The sentence `the quick red fox jumped over the lazy brown dog` might be POS tagged as fox = noun, jumped = verb.

![parsing](images/parse.png)

Expand All @@ -38,9 +38,9 @@ Parsing is recognizing what words are related to each other in a sentence - for

### Word and Phrase Frequencies

A useful tool when analyzing a large body of text is to build a dictionary of every word or phrase of interest and how often it appears. The phrase `the quick red fox jumped over the lazy brown dog` has a word frequency of 2 for `the`.
A useful procedure when analyzing a large body of text is to build a dictionary of every word or phrase of interest and how often it appears. The phrase `the quick red fox jumped over the lazy brown dog` has a word frequency of 2 for the.

Let's look at an example text, where we count the frequency of words, from the Rudyard Kipling poem *The Winners* has a verse:
Let's look at an example text where we count the frequency of words. Rudyard Kipling's poem The Winners contains the following verse:

```output
What the moral? Who rides may read.
Expand Down Expand Up @@ -197,6 +197,8 @@ One possible solution to the task is [here](solution/bot.py)

---

Implement the bot in the prior knowledge check and test it on a friend. Can it trick them? Can you make your bot more 'believable?'

## 🚀Challenge

Take a task in the prior knowledge check and try to implement it. Test the bot on a friend. Can it trick them? Can you make your bot more 'believable?'
Expand Down

0 comments on commit b9604d4

Please sign in to comment.