TALEN: Tool for Annotation of Low-Resource Entities

TALEN: Tool for Annotation of Low-Resource Entities

TALEN: Tool for Annotation of Low-resource ENtities Stephen Mayhew Dan Roth University of Pennsylvania University of Pennsylvania Philadelphia, PA Philadelphia, PA [email protected] [email protected] Abstract work on non-expert annotators for natural lan- guage tasks (Snow et al., 2008), where the anno- We present a new web-based interface, tators lack specific skills related to the task, there TALEN, designed for named entity an- has been little to no work on situations where an- notation in low-resource settings where notators, expert or not, do not speak the language. the annotators do not speak the language. To this end, we present a web-based interface de- To address this non-traditional scenario, signed for users to annotate text quickly and easily TALEN includes such features as in-place in a language they do not speak. lexicon integration, TF-IDF token statis- TALEN aids non-speaker annotators1 with sev- tics, Internet search, and entity propaga- eral different helps and nudges that would be un- tion, all implemented so as to make this necessary in cases of a native speaker. The main difficult task efficient and frictionless. We features, described in detail in Section2, are a conduct a small user study to compare Named Entity (NE) specific interface, entity prop- against a popular annotation tool, show- agation, lexicon integration, token statistics infor- ing that TALEN achieves higher precision mation, and Internet search. and recall against ground-truth annota- The tool operates in two separate modes, each tions, and that users strongly prefer it over with all the helps described above. The first mode the alternative. displays atomic documents in a manner analogous to nearly all prior annotation software. The second TALEN is available at: github.com/CogComp/talen. mode operates on the sentence level, patterned on bootstrapping with a human in the loop, and de- 1 Introduction signed for efficient discovery and annotation. In addition to being useful for non-speaker an- Named entity recognition (NER), the task of find- notations, TALEN can be used as a lightweight in- ing and classifying named entities in text, has been spection and annotation tool for within-language well-studied in English, and a select few other lan- named entity annotation. TALEN is agnostic to la- guages, resulting in a wealth of resources, par- belset, which means that it can also be used for a ticularly annotated training data. But for most wide variety of sequence tagging tasks. languages, no training data exists, and annotators who speak the language can be hard or impossible 2 Main Features to find. This low-resource scenario calls for new In this section, we describe the main features indi- methods for gathering training data. Several works vidually in detail. address this with automatic techniques (Tsai et al., 2016; Zhang et al., 2016; Mayhew et al., 2017), Named Entity-Specific Interface but often a good starting point is to elicit manual The interface is designed specifically for Named annotations from annotators who do not speak the Entity (NE) annotation, where entities are rela- target language. Language annotation strategies and software 1We use ‘non-speaker’ to denote a person who does not speak or understand the language, in contrast with ‘non- have historically assumed that annotators speak native speaker’, which implies at least a shallow understand- the language in question. Although there has been ing of the language. 80 Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics-System Demonstrations, pages 80–86 Melbourne, Australia, July 15 - 20, 2018. c 2018 Association for Computational Linguistics Figure 1: Document-based annotation screen. A romanized document from an Amharic corpus is shown. The user has selected “nagaso gidadane” (Negasso Gidada) for tagging, indicated by the thin gray border, and by the popover component. The lexicon (dictionary) is active, and is displaying the definition (in italics) for “doctor” immediately prior to “nagaso”. (URL and document title are obscured). tively rare in the document. The text is intention- annotate all of them. ally displayed organically, in a way that is familiar In the future, we plan to make this entity prop- and compact, so that the annotator can see as much agation smarter by allowing propagation to near as possible on any given screen. This makes it surface forms (in cases where a suffix or prefix easy for an annotator to make document-level de- differs from the target phrase) or to cancel prop- cisions, for example, if an unusual-looking phrase agation on incorrect phrases, such as stopwords. appears several times. To add an annotation, as shown in Figure1, the annotator clicks (and drags) Lexicon Integration on a word (or phrase), and a popover appears The main difficulty for non-speakers is that they with buttons corresponding to label choices as de- do not understand the text they are annotating. An fined in the configuration file. Most words are not important feature of TALEN is in-place lexicon in- names, so a default label of non-name (O) is as- tegration, which replaces words in the annotation signed to all untouched tokens, keeping the num- screen with their translation from the lexicon. For ber of clicks to a minimum. In contrast, a part-of- example, in Figure1, the English word doctor is speech (POS) annotation system, SAWT (Samih displayed in line (translations are marked by ital- et al., 2016), for example, is designed so that ev- ics). As before, this is built on the notion that an- ery token requires a decision and a click. notation is easiest when text looks organic, with translations seamlessly integrated. Users can click Entity Propagation on a token and add a definition, which is immedi- In a low-resource scenario, it can be difficult to ately saved to disk. The next time the annotator discover and notice names because all words look encounters this word, the definition will be dis- unfamiliar. To ease this burden, and to save on played. If available, a bilingual lexicon (perhaps clicks, the interface propagates all annotation de- from PanLex (Kamholz et al., 2014)), can kickstart cisions to every matching surface in the document. the process. A side effect of the definition addition For example, if ’iteyop’eya (Ethiopia) shows up feature is a new or updated lexicon, which can be many times in a document, then a single click will shared with other users, or used for other tasks. 81 Figure 2: Sentence-based annotation screen, with sentences corresponding to seed term ba’iteyop’eya (annotated in the first sentence, not in the second). Two sentences are shown, and the remaining three sentences associated with this seed term are lower on the page. Notice that hayelamareyame dasalane˜ (Hailemariam Desalegn) has also been annotated in the first sentence. This will become a new seed term for future iterations. (URL and sentence IDs are obscured). Token Statistics 3 Annotation Modes When one has no knowledge of a language, it may There are two annotation modes: a document- be useful to know various statistics about tokens, based mode, and a sentence-based mode. Each has such as document count, corpus count, or TF-IDF. all the helps described above, but they display doc- For example, if a token appears many times in ev- uments and sentences to users in different ways. ery document, it is likely not a name. Our an- notation screen shows a table with statistics over 3.1 Document-based Annotation tokens, including document count, percentage of documents containing it, and TF-IDF. At first, it The document-based annotation is identical to the shows the top 10 tokens by TF-IDF, but the user common paradigm of document annotation: the can click on any token to get individual statistics. administrator provides a group of documents, and For example, in Figure1, nagaso appears 4 times creates a configuration file for that set. The anno- in this document, appears in 10% of the total doc- tator views one document at a time, and moves on uments, and has a TF-IDF score of 9.21. In prac- to the next when they are satisfied with the anno- tice, we have found that this helps to give an idea tations. Annotation proceeds in a linear fashion, of the topic of the document, and often names will although annotators may revisit old documents to have high TF-IDF in a document. fix earlier mistakes. Figure1 shows an example of usage in the document-based annotation mode. Internet Search 3.2 Sentence-based Annotation Upon selection of any token or phrase, the popover includes an external link to search the Internet for The sentence-based annotation mode is modeled that phrase. This can be helpful in deciding if a after bootstrapping methods. In this mode, the phrase is a name or not, as search results may re- configuration file is given a path to a corpus of turn images, or even autocorrect the phrase to an documents (usually a very large corpus) and a English standard spelling. small number (less than 10) seed entities, which 82 Figure 3: Sentence-based annotation screen showing 4 seed terms available for annotation. Notice the Unannotated and Annotated tabs. These terms are in the active Unannotated tab because each term has some sentences that have not yet been labeled with that seed term. For example, of the 5 sentences found for ba’iteyop’eya, only 1 has this seed term labeled (see Figure2). can be easily acquired from Wikipedia. This cor- 4 Related Work pus is indexed at the sentence level, and for each seed entity, k sentences are retrieved. These are There are several tools designed for similar pur- presented to the annotator, as in Figure2, who will poses, although to our knowledge none are de- mark all names in the sentences, starting with the signed specifically for non-speaker annotations.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us