Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 6(6.5~) Concordance lines and corpus linguistics Parallel embedded system design lab 이청용.

Similar presentations


Presentation on theme: "Chapter 6(6.5~) Concordance lines and corpus linguistics Parallel embedded system design lab 이청용."— Presentation transcript:

1 Chapter 6(6.5~) Concordance lines and corpus linguistics Parallel embedded system design lab 이청용

2 6.5 Collocations and concordance lines Changing meaning of verbs used with “up” to throw your lunch into the sink to throw up your lunch into the sink Probability of collocation P(green phone) ≒ P(green)P(phone) P(blue moon) > P(blue)P(moon) P(throw up) > P(throw)P(up)

3 6.5 Collocations and concordance lines 6.5.1 More ways to sort concordance lines The words neighboring the regex matches Example “up” 1. taking the characters up to but not including the match 2. removing punctuation 3. splitting the result into an array of words 4. picking the last word of this array

4 6.5 Collocations and concordance lines Output 6.7

5 6.5 Collocations and concordance lines Program 6.1-2

6 6.5 Collocations and concordance lines Byleftwords

7 6.5 Collocations and concordance lines Byrightwords

8 6.5 Collocations and concordance lines Frequencies of words to the left of ‘up’ (Code)

9 6.5 Collocations and concordance lines Frequencies of words to the left of ‘up’ (Output)

10 6.5 Collocations and concordance lines Frequencies of words to the left of ‘him up’

11 6.5 Collocations and concordance lines Frequencies of words to the right of ‘sprang’

12 6.5 Collocations and concordance lines Collocation of sprang Sprang upon = 7 Sprang = 26 Upon = 79

13 6.5 Collocations and concordance lines Color words in text (code)

14 6.5 Collocations and concordance lines Color words in text (output)


Download ppt "Chapter 6(6.5~) Concordance lines and corpus linguistics Parallel embedded system design lab 이청용."

Similar presentations


Ads by Google