1章(自然言語処理の概要)
“Semantris is a word association game […] Each time you enter a clue, the AI looks at all the words in play and chooses the ones it thinks are most related. Because the AI was trained on conversational text spanning a large variety of topics, it is able to make many types of associations.”
| クエリ語 | マッチされた語 | 消したかった語 |
|---|---|---|
| internet | television | ! website |
| writing | paper | ! pencil |
| body | hair | ! ear |
| protein | insect | ! soybean |
| subject | geology | ! geography |
| morning | snow | ! clock |
| pupil | ear | ! teacher |
| クエリ語 | マッチされた語 | 消したかった語 |
|---|---|---|
| monster | worm | ! pokemon |
| art | pen | ! museum |
| pill | egg | ? |
| awakeness | canoe | ? |
| neck | chair | ? |
| gamer | hat | ? |
| food | musuem | ? |
| クエリ語 | マッチされた語 | 消したかった語 |
|---|---|---|
| alarm | ghost | ? |
| gump | hotel | ! forest |
| insult | necklace | ? |
| クエリ語 | マッチされた語 | 消したかった語 |
|---|---|---|
| voice | piano | ! sound |
| fake | onion | ! truth |
| sweet | hat | ! cake |
| listen | fire | ! radio |
| クエリ語 | マッチされた語 | 消したかった語 |
|---|---|---|
| house | garden | ! neighborhood |
| sweet | heart | ! chocolates |
| sport | jogging | ! Yoga |
| sugar | milk | ! salt |
| vegetable | turnip | ! onion |
| クエリ語 | マッチされた語 | 消したかった語 |
|---|---|---|
| funny | roller coaster | ? |
| sky | helicopter | ? |
| erectric | tree | ! Telephone |
| tree | Erectric | ! Table |
| vision | Pollen | ! Tunnel |
| internet | Soul | |
| animal | Fish | ! Hamster |
エスペラント語
ナヴィ語
クリンゴン語
PROCEDURE DIVISION.
*> count the number of chars in string, store in ws-cnt1
INSPECT WS-STRING TALLYING WS-CNT1 FOR ALL CHARACTERS.
DISPLAY "WS-CNT1 : "WS-CNT1.
*> count just the A characters
INSPECT WS-STRING TALLYING WS-CNT2 FOR ALL 'A'.
DISPLAY "WS-CNT2 : "WS-CNT2.