{"id":328,"date":"2024-07-20T14:56:56","date_gmt":"2024-07-20T12:56:56","guid":{"rendered":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/?p=328"},"modified":"2024-07-20T14:58:36","modified_gmt":"2024-07-20T12:58:36","slug":"analyzing-multilingual-sentences-with-annis-experience-and-disappointments","status":"publish","type":"post","link":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/2024\/07\/20\/analyzing-multilingual-sentences-with-annis-experience-and-disappointments\/","title":{"rendered":"Analyzing multilingual sentences with ANNIS: Experience and Disappointments"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Working with ANNIS has been a new experience for me, as I haven\u2019t closely worked with corpus searches before. The interface was a bit overwhelming and confusing at first, but with some visual instructions it was easier to navigate the corpus. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"428\" src=\"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-ui-1024x428.png\" alt=\"\" class=\"wp-image-329\" srcset=\"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-ui-1024x428.png 1024w, https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-ui-300x125.png 300w, https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-ui-768x321.png 768w, https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-ui.png 1309w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">From our previous work on sentence annotation, I was already expecting a high number of Proper Nouns for non-English words, but it was still surprising to see how frequent they were. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I created a table to show the frequency of the more frequent POS types for non-English words.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>isForeign=&#8220;True&#8220;<\/strong><\/td><td><strong>681<\/strong><\/td><td><strong>100%<\/strong><\/td><\/tr><tr><td>PROPN<\/td><td>420<\/td><td>61,7%<\/td><\/tr><tr><td>NOUN<\/td><td>168<\/td><td>24,7%<\/td><\/tr><tr><td>ADJ<\/td><td>26<\/td><td>3,8%<\/td><\/tr><tr><td>VERB<\/td><td>25<\/td><td>3,7%<\/td><\/tr><tr><td>ADV<\/td><td>10<\/td><td>1,5%<\/td><\/tr><tr><td>ADP<\/td><td>10<\/td><td>1,5%<\/td><\/tr><tr><td>INTJ<\/td><td>6<\/td><td>0,8%<\/td><\/tr><tr><td>other<\/td><td>16<\/td><td>2,3%<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em>overview for non-English words<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, <strong>PROPN <\/strong>dominate the non-English words with over 60%. The second highest group is <strong>NOUN <\/strong>with roughly 25%. However, this doesn\u2019t mean they are correctly tagged, as our previous experience with sentence annotation already taught us. A quick glance at the so-called PROPN is enough to realize that most of theses probably aren\u2019t actual proper nouns. Again, these seem to be arbitrarily assigned. For NOUN, the matches are a mix of correct and incorrect categorizations. Finding a clear pattern is difficult, but often a NOUN is assigned when a DET or ADJ preceded the word. In those cases, the categorization seems mostly correct.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"321\" src=\"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-sc.png\" alt=\"\" class=\"wp-image-330\" srcset=\"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-sc.png 590w, https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/files\/2024\/07\/annis-sc-300x163.png 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As a comparison, PROPN for English words are less common with about 4%, while NOUN is the most frequent POS type with 12,9%.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>isForeign=&#8220;False&#8220;<\/strong><\/td><td><strong>3405<\/strong><\/td><td><strong>100%<\/strong><\/td><\/tr><tr><td>PROPN<\/td><td>149<\/td><td>4,3%<\/td><\/tr><tr><td>NOUN<\/td><td>438<\/td><td>12,9%<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><em>PROPN and NOUN for English words<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Actually the dominating POS for non-foreign words is <strong>punctuation <\/strong>with 932 matches, but that is because every type of punctuation has been marked as non-foreign.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That being said, we are working with a small corpus with many different languages, so it would be too early to draw any generalizing conclusions. Perhaps our own selection of sentences is a little biased, as we do have many sentences that feature nouns from food items or culturally specific terms.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working with ANNIS has been a new experience for me, as I haven\u2019t closely worked with corpus searches before. The interface was a bit overwhelming and confusing at first, but with some visual instructions it was easier to navigate the &hellip; <a href=\"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/2024\/07\/20\/analyzing-multilingual-sentences-with-annis-experience-and-disappointments\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":388,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2,4,3],"tags":[34,26,5],"class_list":["post-328","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-blog-posts","category-student-entries","category-writing-across-languages","tag-annis","tag-annotation","tag-multilingualism"],"_links":{"self":[{"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/users\/388"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/comments?post=328"}],"version-history":[{"count":2,"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/posts\/328\/revisions"}],"predecessor-version":[{"id":332,"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/posts\/328\/revisions\/332"}],"wp:attachment":[{"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/media?parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/categories?post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.phil.hhu.de\/writingacrosslanguages\/wp-json\/wp\/v2\/tags?post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}