Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be...
-
Upload
griffin-blake -
Category
Documents
-
view
215 -
download
2
Transcript of Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be...
![Page 1: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/1.jpg)
Extract Questions from Sentences
![Page 2: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/2.jpg)
Purpose
• The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from passages.
• The knowledge extracted can be used to– Answer queries directly– Support semantic computing
![Page 3: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/3.jpg)
A Blueprint (Ultimate Goal)
• What is the difference between football and basketball?– Learn passages about football and basketball.– Get the knowledge from the passages that they are
two kinds of team sports.– Learning passages about team sports to get the
knowledge of what aspects a team sport involves.– Using the commonsense that difference should be
worked out by comparing every aspects of each side of comparison.
– List every aspects of the two sport that are different.
![Page 4: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/4.jpg)
Problems
• A series of problems involved– Knowledge extracting from sentences– Knowledge expressing and storage– Knowledge organization (indexing, grouping and
linking)– Knowledge update– Knowledge utilization– Knowledge source– Conflict resolution– …
![Page 5: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/5.jpg)
Knowledge extracting
![Page 6: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/6.jpg)
Knowledge extracting
• Extracting knowledge from sentences– Knowledge within a single sentence – Knowledge across several sentences later
• In order to represent the knowledge extracted from sentences before having a mature way to express the knowledge, they will be expressed by just asking simple questions.
• The task is simplified as extracting questions from sentences.
![Page 7: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/7.jpg)
Category of Sentences
• Purpose of sentences– Declarative Sentence – Interrogative Sentence (疑问句 ) X– Imperative Sentence (祈使句 ) X– Exclamatory Sentence (感叹句 ) later
• Structure of sentences– Simple sentence first– Sentence with one or more clauses later
![Page 8: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/8.jpg)
Declarative Sentence
• Almost every syntax component can be asked in the sentence.
• Subject
• Predicate
• Complement
• Prepositional phrase (manner, reason, time, location, person, …)
• …
![Page 9: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/9.jpg)
Basic Grammar Patterns of DS
• Subject + Predicate– What does [subject] do?– Who/What does …?
• Subject + be + object– What is [subject]?
• Subject + linking verb + complement– How does [subject] [linking verb]– A[n] looks[lv] like[prep] B[n].
• How does A look?• What/Who does A/B look like?
• …
![Page 10: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/10.jpg)
Lexical Analysis
• Make use of WordNet– Nouns, verbs, adjectives and adverbs.
• Prepositions
![Page 11: Extract Questions from Sentences. Purpose The behavior of extracting questions from sentences can be regarded as extracting semantics or knowledge from.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f0d5503460f94c20d88/html5/thumbnails/11.jpg)
What to do in the following week
Do information gathering work focusing on Simple Sentence (without clauses).
• Conclude the basic patterns that appear frequently. (increasingly)
• Find the syntax components of sentences in each pattern that people care most and the way to ask about them. (increasingly)
• Find a way to justify whether a given sentence matches any of the concluded pattern.