Difference between revisions of "Task ideas for Google Code-in/Manually disambiguate text"

From Apertium
Jump to navigation Jump to search
Line 16: Line 16:
 
|<pre>
 
|<pre>
 
"<How>"
 
"<How>"
"how" adv
 
 
"how" preadv
 
"how" preadv
 
"how" adv itg
 
"how" adv itg
Line 23: Line 22:
 
"do" vaux pres
 
"do" vaux pres
 
"<you>"
 
"<you>"
"you" prn pers p2 mf sg
 
 
"prpers" prn subj p2 mf sp
 
"prpers" prn subj p2 mf sp
 
"prpers" prn obj p2 mf sp
 
"prpers" prn obj p2 mf sp

Revision as of 19:25, 7 November 2016

Words can have more than one possible interpretation, for example "tie" in English can be a noun denoting an item of clothing "she put on her tie" or it can be a verb "they tie a knot". We call this ambiguity — the word "tie" is ambiguous between being a noun and a verb. When humans read texts they automatically choose the appropriate interpretation based on the context. Sometimes ambiguity can lead to jokes or misunderstandings when the intended meaning is less frequent. For example, "How do you make a turtle fast?" — "Take away her food." This is funny because fast can mean either "quick" or "not eat".

Objective

The objective of this task is to take some text of your choosing and manually disambiguate it. That is, for each ambiguous word you choose the appropriate interpretation in context.

Examples

Let's take the example, "How do you make a turtle fast?"...

Input Output
"<How>"
	"how" preadv
	"how" adv itg
"<do>"
	"do" vaux inf
	"do" vaux pres
"<you>"
	"prpers" prn subj p2 mf sp
	"prpers" prn obj p2 mf sp
"<make>"
	"make" n sg
	"make" vblex inf
	"make" vblex pres
	"make" vblex imp
"<a>"
	"a" det ind sg
"<turtle>"
	"turtle" n sg
"<fast>"
	"fast" adv
	"fast" adj sint
	"fast" n sg
	"fast" vblex inf
	"fast" vblex pres
	"fast" vblex imp
"<?>"
	"?" sent
"<How>"
	"how" preadv
;	"how" adv itg
"<do>"
	"do" vaux inf
;	"do" vaux pres
"<you>"
	"prpers" prn subj p2 mf sp
;	"prpers" prn obj p2 mf sp
"<make>"
;	"make" n sg
	"make" vblex inf
;	"make" vblex pres
;	"make" vblex imp
"<a>"
	"a" det ind sg
"<turtle>"
	"turtle" n sg
"<fast>"
;	"fast" adv
;	"fast" adj sint
;	"fast" n sg
	"fast" vblex inf
;	"fast" vblex pres
;	"fast" vblex imp
"<?>"
	"?" sent

Language specific guidelines

Useful commands