Difference between revisions of "Vulcan/TextualEvidenceFinder"
From Knowitall
(→Query Generator) |
(→Query Generator) |
||
Line 15: | Line 15: | ||
<li>Keyword queries -- Extract keywords from the query sentence [TBD: Stemming? Stopword removal?]</li> | <li>Keyword queries -- Extract keywords from the query sentence [TBD: Stemming? Stopword removal?]</li> | ||
<li>Template queries -- A template query is simply a tuple (or the sentence) where one or more words in the tuple is replaced with a wild-card operator.</li> | <li>Template queries -- A template query is simply a tuple (or the sentence) where one or more words in the tuple is replaced with a wild-card operator.</li> | ||
− | The system will be given a set of rules that specify how to convert a tuple into different template queries. | + | The system will be given a set of rules that specify how to convert a tuple into different template queries. Start with a simple rule |
</ol> | </ol> | ||
+ | |||
; Examples | ; Examples | ||
<pre> | <pre> | ||
+ | |||
Input: | Input: | ||
− | + | Sentence: Iron nail is a good conductor of electricity | |
+ | Tuples: (iron nail, is a good conductor of, electricity) | ||
Output: | Output: | ||
− | Q1: (iron *, is a good conductor of, electricity) //Template query | + | Q1: (iron *, is a good conductor of, electricity) //Template query |
− | Q2: (* nail, is a good conductor of, electricity) //Template query | + | Q2: (* nail, is a good conductor of, electricity)//Template query |
− | Q3: (iron nail, is a * conductor of, electricity) //Template query | + | Q3: (iron nail, is a * conductor of, electricity) //Template query |
− | Q4: iron * conductor * electricity //Template query | + | Q4: iron * conductor * electricity //Template query |
− | Q5: iron or conductor or electricity //Keyword query | + | Q5: iron or conductor or electricity //Keyword query |
</pre> | </pre> |
Revision as of 21:18, 20 August 2013
I/O
Input: A Proposition [A natural language sentence + Open IE tuples from the sentence.]
Output: A list of query/score pairs representing evidence for the proposition.
Components
Query Generator
The query generator outputs two types of queries for each proposition:
- Keyword queries -- Extract keywords from the query sentence [TBD: Stemming? Stopword removal?]
- Template queries -- A template query is simply a tuple (or the sentence) where one or more words in the tuple is replaced with a wild-card operator.
The system will be given a set of rules that specify how to convert a tuple into different template queries. Start with a simple rule
- Examples
Input: Sentence: Iron nail is a good conductor of electricity Tuples: (iron nail, is a good conductor of, electricity) Output: Q1: (iron *, is a good conductor of, electricity) //Template query Q2: (* nail, is a good conductor of, electricity)//Template query Q3: (iron nail, is a * conductor of, electricity) //Template query Q4: iron * conductor * electricity //Template query Q5: iron or conductor or electricity //Keyword query
Solr/Lucence Layer
Open IE 4.0
Use Open IE 4.0.