var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
};
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "dog house needs .",
// The entities entry holds all entity annotations
};
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 9 ] ] ],
[ "T2", "NOUN", [ [ 10, 15 ] ] ] ],
};
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 9 ] ] ],
[ "T2", "NOUN", [ [ 10, 15 ] ] ],
[ "T3", "VERB", [ [ 16, 23 ] ] ]
],
};
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 9 ] ] ],
[ "T2", "NOUN", [ [ 10, 15 ] ] ],
[ "T3", "VERB", [ [ 16, 23 ] ] ]
],
};
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 9 ] ] ],
[ "T2", "NOUN", [ [ 10, 15 ] ] ],
[ "T3", "VERB", [ [ 16, 23 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Subject', [['Verb', 'T3'], ['Subject', 'T1']]]
];
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 9 ] ] ],
[ "T2", "NOUN", [ [ 10, 15 ] ] ],
[ "T3", "VERB", [ [ 16, 23 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Subject', [['Verb', 'T3'], ['Subject', 'T1']]],
['R2', 'Object', [['Verb', 'T3'], ['Object', 'T2']]]
];
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Sabaakax̂ ulax̂ alakux̂ .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 9 ] ] ],
[ "T2", "NOUN", [ [ 10, 15 ] ] ],
[ "T3", "VERB", [ [ 16, 23 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Subject', [['Verb', 'T3'], ['Subject', 'T1']]],
['R2', 'Object', [['Verb', 'T3'], ['Object', 'T2']]]
];
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'DET',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['DET', 'DT'],
// Blue is a nice colour for a person?
bgColor: '#ff9933',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
},{
type : 'Determiner',
labels : ['Determiner', 'Det'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Det', targets: ['DET'] },
{role: 'Noun', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Dogs need houses .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 4 ] ] ],
[ "T2", "VERB", [ [ 4, 9 ] ] ],
[ "T3", "NOUN", [ [ 9, 16 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Subject', [['Verb', 'T2'], ['Subject', 'T1']]],
['R2', 'Object', [['Verb', 'T2'], ['Object', 'T3']]]
];
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'DET',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['DET', 'DT'],
// Blue is a nice colour for a person?
bgColor: '#ff9933',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
},{
type : 'Determiner',
labels : ['Determiner', 'Det'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Det', targets: ['DET'] },
{role: 'Noun', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "the dog \n a house",
// The entities entry holds all entity annotations
entities: [
[ "T1", "DET", [ [ 0, 3 ] ] ],
[ "T2", "NOUN", [ [ 4, 7 ] ] ],
[ "T4", "DET", [ [ 10, 11 ] ] ],
[ "T5", "NOUN", [ [ 12, 17 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Determiner', [['Det', 'T1'], ['Noun', 'T2']]],
['R2', 'Determiner', [['Det', 'T4'], ['Noun', 'T5']]]
];
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'LOCATIVE',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['LOCATIVE', 'LOC'],
// Blue is a nice colour for a person?
bgColor: '#e4e94c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
},{
type : 'PP',
labels : ['Postpositional Phrase','Post'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Locative', targets: ['LOCATIVE'] }
]
}];
var docData = {
// Our text of choice
text : "Piitram ulakuchax̂ ngaan agukuu .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 7 ] ] ],
[ "T2", "NOUN", [ [ 8, 18 ] ] ],
[ "T3", "LOCATIVE", [ [ 19, 24 ] ] ],
[ "T4", "VERB", [ [ 25, 31 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Subject', [['Verb', 'T4'], ['Subject', 'T1']]],
['R2', 'Object', [['Verb', 'T4'], ['Object', 'T2']]],
['R3', 'PP', [['Verb', 'T4'], ['Locative', 'T3']]]
];
var collData = {
entity_types: [ {
type : 'NOUN',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['NOUN', 'N'],
// Blue is a nice colour for a person?
bgColor: '#54aeaa',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'VERB',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['VERB', 'V'],
// Blue is a nice colour for a person?
bgColor: '#e7494c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'DET',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['DET', 'DT'],
// Blue is a nice colour for a person?
bgColor: '#ff9933',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
}, {
type : 'LOC',
/* The labels are used when displaying the annotion, in this case
we also provide a short-hand "Per" for cases where
abbreviations are preferable */
labels : ['LOCATIVE', 'LOC'],
// Blue is a nice colour for a person?
bgColor: '#e4e94c',
// Use a slightly darker version of the bgColor for the border
borderColor: 'darken'
} ]
};
collData['relation_types'] = [ {
type : 'Subject',
labels : ['Subject', 'Subj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Subject', targets: ['NOUN'] }
]
},{
type : 'Object',
labels : ['Object', 'Obj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Object', targets: ['NOUN'] }
]
},{
type : 'Determiner',
labels : ['Determiner', 'Det'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Det', targets: ['DET'] },
{role: 'Noun', targets: ['NOUN'] }
]
},{
type : 'PP',
labels : ['Prep', 'Prepositional Phrase'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Verb', targets: ['VERB'] },
{role: 'Prep', targets: ['LOC'] }
]
},{
type : 'LocativeObject',
labels : ['PrepObj', 'PObj'],
// dashArray allows you to adjust the style of the relation arc
color : 'black',
/* A relation takes two arguments, both are named and can be constrained
as to which types they may apply to */
args : [
//
{role: 'Prep', targets: ['LOC'] },
{role: 'Noun', targets: ['NOUN'] }
]
}];
var docData = {
// Our text of choice
text : "Peter builds a house for ( the dog ) .",
// The entities entry holds all entity annotations
entities: [
[ "T1", "NOUN", [ [ 0, 5 ] ] ],
[ "T2", "VERB", [ [ 6, 12 ] ] ],
[ "T3", "DET", [ [ 13, 14 ] ] ],
[ "T4", "NOUN", [ [ 15, 20 ] ] ],
[ "T5", "LOC", [ [ 21, 24 ] ] ],
[ "T6", "DET", [ [ 27, 30 ] ] ],
[ "T7", "NOUN", [ [ 31, 34 ] ] ]
],
};
docData['attributes'] = [
[ "embedded-1-S1-A1", "Num", "embedded-1-S1-T1", "Sing" ], [ "embedded-1-S1-A2", "Per", "embedded-1-S1-T1", "1" ], [ "embedded-1-S1-A3", "Tens", "embedded-1-S1-T2", "Pres" ], [ "embedded-1-S1-A4", "Num", "embedded-1-S1-T5", "Sing" ] ];
docData['relations'] = [
// Format: [${ID}, ${TYPE}, [[${ARGNAME}, ${TARGET}], [${ARGNAME}, ${TARGET}]]]
['R1', 'Subject', [['Verb', 'T2'], ['Subject', 'T1']]],
['R2', 'Object', [['Verb', 'T2'], ['Object', 'T4']]],
['R3', 'Determiner', [['Det', 'T3'], ['Noun', 'T4']]],
['R4', 'Determiner', [['Det', 'T6'], ['Noun', 'T7']]],
['R5', 'PP', [['Verb', 'T2'], ['Prep', 'T5']]],
['R6', 'LocativeObject', [['Prep', 'T5'], ['Noun', 'T7']]]
];
Story time: Ulax̂
This story, written and illustrated by Nadesta Golley, is entitled ulax̂. It is part of a collection of stories in the book Hilada (which translates to 'Read') and was produced in Atka Village in 1973. The book is currently housed at the Alaska Native Language Archives (ID No. ALW973G1973b).
Hint/ ← Hover/click to reveal hint!
Part I: Meaning & Parts-of-Speech
Consider the following sentence:
Let's break it down!
Can you figure out what the sentence means now?
Using this knowledge, we can identify words that function similar to nouns (NOUN/N):
And words that act like verbs (VERB/V):
Part II: Syntactic Relations
Let's take another look at this sentence:
Here, sabaakax̂ is the subject (subject/subj) of the sentence - subjects perform the action of the verb. We can visualize it in the following way:
In the figure displayed above, sabaakax̂ is performing the action of the verb alakux̂.
Direct objects on the other hand receive the action of the verb. Do you have any idea what the direct object (object/obj) might be?
To briefly summarize this section, sabaakax̂ is the subject of the sentence and ulax̂ is the direct object:
Part III: Differences between Unangam Tunuu and English - Word Order
Let's consider one of the major differences between Unangam Tunuu and English.
What do you notice about the order of the subject, verb and object in the Unangam Tunuu sentence?
The order goes subject, object and, finally, verb!
Now, what about an English sentence?
The order in English is typically subject, verb and then object.