F rame F orm: An Open-source Annotation Interface for F rame N et (2021)

Abstract: In this paper, we introduce FrameForm, an open-source annotation tool designed to accommodate predicate annotations based on Frame Semantics. FrameForm is a user-friendly tool for creating, annotating and maintaining computational lexicography projects like FrameNet and has been used while building the Turkish FrameNet. Responsive and open-source, FrameForm can be easily modified to answer the annotation needs of a wide range of different languages.

## introduction framenet @xcite @xcite ) is a growing nlp resource developed by the international computer science institute in berkeley, california. having its theoretical background in fillmore's frame semantics notion @xcite , framenet is a coherent and exhaustive computational lexicography that provides in-depth semantic information regarding the argument structure and thematic relations of a predicate. in framenet, predicates are annotated into their respective frames. a frame refers to a schematic representation that brings lemmas together based on their semantic properties and syntactic features (for a more detailed definition and discussion of the frame notion, see @xcite ). for instance, motion frame brings frames that denote a motion between two points or on a path, and it has the following definition foot_1 : some entity (theme) starts out in one place (source) and ends up in some other place (goal), having covered some space between the two (path). alternatively, the area or direction in which the theme moves or the distance of the movement may be mentioned. predicates (lexical units or lus, as called in framenet) that fit the definition above are annotated to this frame. here we must point out that each sense of a lexical unit pertains to a different frame. for instance, "blow" (as an intransitive verb) has several meanings foot_2 : following the framework put forward by english framenet team, many other researchers re-created this resource in different languages. in order to ease building process and streamline the maintenance of framenet resources, we developed an open-source annotation interface called frameform foot_3 . we will discuss the creation process of frame-form in section 2 and introduce its features in section 3. finally, we will offer a brief discussion regarding the future work in section 4. ## developing the frameform development process of frameform is closely tied to the creation process of turkish framenet @xcite : while gathering data for turkish framenet, our team needed an easy-to-use tool that allowed frame annotation, semantic annotation and morphologic analysis. first we did a thorough research to see what software and tools were used for building other framenets. in their articles covering the process of building and/or expanding their framenets, many teams don't mention the tools or interface they use, that is why we were able to find only few resources regarding the annotation of framenets in various languages: after our thorough research, we found ourselves in a position where we had to develop our own annotation interface. thus, we created frameform. it is written in java and can be found on github. since it is an open-source program, it is possible to change or further develop frameform freely. that is why we believe that it can be easily integrated into many other framenet projects in different languages. thus far, mostly indo-european languages followed suit with the english framenet. these languages are relatively poorer in morphology compared to agglutinative languages like turkish. that is why the annotation tools we discussed above do not offer a morphologic analyser component which is essential for morphologically richer languages. our annotation tool, frameform allows adding a new morphological analyser and introducing a new dictionary and/or wordnet. that is why different languages can utilise frameform for their annotation processes simply by making some minor adjustments in the back-end. ## features frameform saves every annotation pertaining to a lexical unit in a single file: morphologic analysis, predicate analysis (shows which word or group of words is the predicate), semantic analysis (maps the related meaning to the word), frame information and frame elements. this way, one can find all the necessary information regarding a lexical unit with one click. the annotation process starts with the morphologic analysis of the sample sentence (see figure 1 ). for this analysis, we incorporated our own morphological analysis library for turkish, which can be accessed freely on github foot_4 . using this library, frameform offers an automatic morphologic analysis to speed up the process. the annotator can change auto-generated annotation if it is not correct. using the starlang turkish morphological analysis library, frameform processes roots and suffixes separately. it chooses the longest possible root (including derivational suffixes but excluding inflectional suffixes). if the longest possible root yields a plausible analysis, the algorithm goes with that. otherwise, it refers to a set of predetermined set of rules (see @xcite for a detailed discussion). in order to use the morphological analysis feature of frameform in a different language, starlang's turkish morphological analysis library can be replaced with a different library pertaining to the target language. next step involves the semantic annotation. in this step, the annotator should select the correct meaning of the lexical unit in regard to the frame, and appropriate meanings of the other elements in the sample sentence as well (see figure 2 ). au-figure 3 : predicate annotation interface of frameform tomatic semantic annotation is possible in order to make annotation process more seamless but the annotator can always change or manually select the meanings. for the certain multi-word expressions (such as phrasal verbs, idioms, etc.) or the words that have only one meaning, the annotation is done automatically. the rest of the words are annotated by human annotators. for the semantic annotation step, frameform refers to a dictionary or wordnet. for the purposes of turkish framenet, we used turkish wordnet kenet @xcite in order to make turkish framenet compatible with other resources in turkish (such as turkish propbank @xcite )) yet it is possible to introduce different dictionaries or wordnets in order to use frameform in different languages. after the semantic annotation, the annotator should move on to predicate selection screen where they need to mark the predicate/lexical unit in the sample sentence (see figure 3 ). final step is annotating the frame elements where the annotator can see all the fes within that frame and match them with related sentence ele-ments (see figure 4 ). one of the most important features of the frame-form is the fact that it significantly facilitates to ensure inter-annotator agreement and coherency. frameform allows all annotators to see each others' annotations, that is why the annotators can discuss specific cases or annotations and notify one another regarding potential agreement issues. in addition, frameform groups together the lexical units and frame elements of a single frame. this way, the annotators can only see and select the frame elements pertaining to the frame they are annotating. thus, the annotators cannot use or mark down frame elements of other frames. ## conclusion and future studies with frameform, we aimed to create a potent, flexible, easy-to-use annotation tool. in order to ensure that frameform alone is enough for every step of the framenet annotation and maintenance processes, we equipped our tool with a wide range of features including semantic annotation and frame element annotation. thus it is possible to create a framenet from scratch, grow it and maintain it using only frameform. frameform can be downloaded freely on github. being easy to access and distribute, a crowded team of annotators can use frame-form for their annotation needs. since annotators can see progress made by other members of the team, frameform makes it easier to ensure interannotator agreement. one of our main goals was to make frameform capable of answering the needs of other framenet teams. that is why it is an open-source tool that can be modified or advanced in accordance with the unique needs and typologies of other languages. further studies can focus on the compatibility of frameform with other languages and what should be improved.