{ "text":"Elon Musk is a member of the PayPal Mafia.", "denotations":[ {"id":"T1", "span":{"begin":0,"end":9},"obj":"Person"}, {"id":"T2", "span":{"begin":29,"end":41},"obj":"Group"} ], "config": { "entity types": [ { "id": "Person", "color": "#8888FF" }, { "id": "Group", "color": "#FF8888" } ], "function availability": { "read": false, "write": true, "write-auto": false, "line-height": false, "line-height-auto": false, "term": true, "relation": false, "block": false, "simple": false, "replicate": false, "replicate-auto": false, "boundary-detection": true, "undo": true, "redo": true, "setting": false, "help": false } } }
Term annotation (try edit or learn how to)
{ "text":"Elon Musk is a member of the PayPal Mafia.", "denotations":[ {"id":"T1", "span":{"begin":0,"end":9},"obj":"Person"}, {"id":"T2", "span":{"begin":29,"end":41},"obj":"Group"} ], "relations": [ {"pred": "member", "subj":"T1", "obj":"T2"} ], "config": { "entity types": [ { "id": "Person", "color": "#8888FF" }, { "id": "Group", "color": "#FF8888" } ], "function availability": { "read": false, "write": true, "write-auto": false, "line-height": false, "line-height-auto": false, "view": true, "term": false, "relation": true, "block": false, "simple": false, "replicate": false, "replicate-auto": false, "boundary-detection": false, "undo": true, "redo": true, "setting": false, "help": false } } }
Relation annotation (try edit or learn how to)
{ "text":"Hello, what can I help you with?\nCan vegetarians eat here?", "blocks":[ {"id":"B1","span":{"begin":0,"end":32},"obj":"Message"}, {"id":"B2","span":{"begin":33,"end":58},"obj":"Message"} ], "attributes":[ {"id":"A1","pred":"role","subj":"B1","obj":"Assistant"}, {"id":"A2","pred":"role","subj":"B2","obj":"User"} ], "config": { "attribute types": [ { "pred": "role", "value type": "selection", "values": [ { "id": "Assistant", "color": "#FF8888" }, { "id": "User", "color": "#8888FF" } ] } ], "function availability": { "read": false, "write": true, "write-auto": false, "line-height": false, "line-height-auto": false, "view": true, "term": false, "relation": false, "block": true, "simple": false, "replicate": false, "replicate-auto": false, "boundary-detection": true, "undo": true, "redo": true, "setting": false, "help": false } } }
Block annotation (try edit or learn how to)
{ "text":"Elon Musk is a member of the PayPal Mafia.", "denotations":[ {"id":"T1", "span":{"begin":0,"end":9},"obj":"Person"}, {"id":"T2", "span":{"begin":29,"end":41},"obj":"Group"} ], "relations": [ {"pred": "member", "subj":"T1", "obj":"T2"} ], "attributes": [ {"pred": "wikipage", "subj":"T1", "obj":"https://en.wikipedia.org/wiki/Elon_Musk"}, {"pred": "wikipage", "subj":"T2", "obj":"https://en.wikipedia.org/wiki/PayPal_Mafia"} ], "config": { "entity types": [ { "id": "Person", "color": "#8888FF" }, { "id": "Group", "color": "#FF8888" } ], "function availability": { "read": false, "write": true, "write-auto": false, "line-height": false, "line-height-auto": false, "term": true, "relation": false, "block": false, "simple": false, "replicate": false, "replicate-auto": false, "undo": true, "redo": true, "setting": false, "help": false } } }
Attribute of annotation
{ "text":"腎不全を伴った大理石骨病の1例を経験したので報告する。", "denotations":[ {"id":"T2","span":{"begin":0,"end":3},"obj":"症状"}, {"id":"T1","span":{"begin":7,"end":12},"obj":"病気"} ], "attributes":[ {"id":"A10","pred":"meaning","subj":"T1","obj":"骨の異常な増殖"}, {"id":"A9","pred":"image","subj":"T1","obj":"https://www.igenomix.co.uk/wp-content/uploads/sites/7/2021/09/osteology-1.png"}, {"id":"A8","pred":"meaning","subj":"T2","obj":"腎機能の低下"}, {"id":"A7","pred":"image","subj":"T2","obj":"https://www.morishita.or.jp/renal/symptoms/img/img01.png"} ], "config": { "attribute types": [ { "pred": "image", "value type": "string", "media height": "40px" } ], "function availability": { "read": false, "write": true, "write-auto": false, "line-height": false, "line-height-auto": false, "term": true, "relation": false, "block": false, "simple": false, "replicate": false, "replicate-auto": false, "undo": true, "redo": true, "setting": false, "help": false } } }
Multilingual support, and annotation with images
  • You can create or edit various types of annotation.
    • term annotation, e.g., named-entities
    • block annotation, e.g., paragraphs
    • relation annotation

works in your browser

  • TextAE may take the entire working area of a browser, or
  • can be embedded (as a div element) in an HTML document as below
<div class="textae-editor" style="width:300px">
  {
    "text":"Hello World!",
    "denotations":[
      {"span":{"begin":0,"end":5},"obj":"Greet"},
      {"span":{"begin":6,"end":11},"obj":"Object"}
    ]
  }
</div>
{ "text":"Hello World!", "denotations":[ {"span":{"begin":0,"end":5},"obj":"Greet"}, {"span":{"begin":6,"end":11},"obj":"Object"} ] }

Standard

  • TextAE is written in standard HTML5 + CSS3
  • It is tested and should work in standard web browsers, e.g., Chrome, FireFox, Safari, Edge, … (but not in IE)

Unicode support

  • It supports any language which is supported by UTF8.
    (However, we could test the feature only with a limited number of languages. If you find a problem with your language, please let us know, so that we can fix it for your language.)

Open source

  • TextAE is developed as an open source project.
  • Released under the MIT License.

Zero installation

REST client

  • TextAE works as a REST client, which means
    • it can GET an annotation file from a URL, and
    • it can POST an annotation file to a URL.

a default viewer/editor of PubAnnotation

  • TextAE is developed as a default viewer/editor of PubAnnotation.