<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title type="full">
                    <title type="main">Creating an artificial language for mitigating the Internet Information Retrieval recall problem</title>
                    <title type="sub"/>
                </title>
                <author>
                    <persName>
                        <surname>Hoenen</surname>
                        <forename>Armin</forename>
                    </persName>
                    <affiliation>Goethe Universität Frankfurt, Germany</affiliation>
                    <email>hoenen@em.uni-frankfurt.de</email>
                </author>
                <author>
                    <persName>
                        <surname>Koc</surname>
                        <forename>Cemre</forename>
                    </persName>
                    <affiliation>Goethe Universität Frankfurt, Germany</affiliation>
                    <email>cem_koc@icloud.com</email>
                </author>
                <author>
                    <persName>
                        <surname>Hasche</surname>
                        <forename>Julian</forename>
                    </persName>
                    <affiliation>Goethe Universität Frankfurt, Germany</affiliation>
                    <email>julian.hasche@gmail.com</email>
                </author>
            </titleStmt>
            <editionStmt>
                <edition>
                    <date>2021-06-04T17:21:34.201436052</date>
                </edition>
            </editionStmt>
            <publicationStmt>
                <publisher>Elisabeth Burr, University of Leipzig</publisher>
                <address>
                    <addrLine>Beethovenstr. 15</addrLine>
                    <addrLine>04107 Leipzig</addrLine>
                    <addrLine>Germany</addrLine>
                    <addrLine>Elisabeth Burr</addrLine>
                </address>
            </publicationStmt>
            <sourceDesc>
                <p>Converted from an OASIS Open Document</p>
            </sourceDesc>
        </fileDesc>
        <encodingDesc>
            <appInfo>
                <application ident="DHCONVALIDATOR" version="1.22">
                    <label>DHConvalidator</label>
                </application>
            </appInfo>
        </encodingDesc>
        <profileDesc>
            <textClass>
                <keywords scheme="ConfTool" n="category">
                    <term>Paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="subcategory">
                    <term>Long paper</term>
                </keywords>
                <keywords scheme="ConfTool" n="keywords">
                    <term>artificial language</term>
                    <term>web information retrieval</term>
                </keywords>
                <keywords scheme="ConfTool" n="topics">
                    <term>Conversion</term>
                    <term>Discovering</term>
                    <term>Programming</term>
                    <term>Web development</term>
                    <term>Annotating</term>
                    <term>Structural Analysis</term>
                    <term>Identifying</term>
                    <term>Sharing</term>
                    <term>Meta: Assessing</term>
                    <term>Meta: Teaching/Learning</term>
                    <term>NamedEntities</term>
                    <term>Language</term>
                    <term>Methods</term>
                    <term>Research</term>
                    <term>Data</term>
                    <term>not applicable</term>
                    <term>English</term>
                </keywords>
            </textClass>
        </profileDesc>
    </teiHeader>
    <text>
        <body>
            <div type="div1" rend="DH-Heading">
                <head>Introduction</head>
                <p>Artificial languages (AL) come in many flavours and have been created for many purposes, consider for instance (Sanders 2016: 2) and are known at least since the 11th century (Higley 2007: 4-7). We create one in order to mitigate the recall problem of Internet Information Retrieval for Low Resource Languages (LRL). This problem refers to the fact that for any LRL, which one seeks to build a corpus for, compare (Scannell 2007: 4), one does not know how much of all available content on the web in the LRL is covered by what one has found. We created a corpus in an AL calling it Jucearm which we then posted in various places on the web. The AL we created is a so-called 
                    <hi rend="italic">a posteriori language</hi> meaning that we took an existing language and altered it before applying a non-trivial and non-traceable letter substitution schema. We then place the contents from our corpus in bits in various social networks and on homepages. 5 students have then been provided with a noisy wordlist of Jucearm imitating a realistic situation for many LRL retrieval attempts and a short grammatical sketch and were told to search all available content on the web. We release the corpus alongside this publication.
                    <note xml:id="ftn1" place="foot" n="1">https://github.com/ArminHoenen/JuCeArm</note>
                </p>
            </div>
            <div type="div1" rend="DH-Heading">
                <head>Creating Jucearm</head>
                <p>We chose an a posteriori approach because the statistics of natural language are
                    already inherent in the basis. And another advantage is that there are many
                    resources and corpora for a widely used language on which to build the language.
                    Our approach was to look for a major language that exhibits largely average
                    statistical properties at various linguistic levels. Therefore, we considered
                        WALS<note xml:id="ftn2" place="foot" n="2">https://wals.info/</note> for
                    large web languages<note xml:id="ftn3" place="foot" n="3"
                        >https://de.statista.com/statistik/daten/studie/2961/umfrage/anteil-der-verbreitetsten-sprachen-im-internet/</note>
                    in the categories: Consonant Inventories (Maddieson 2013a), VowelQuality
                    Inventories (Maddieson 2013c) and Syllable structure (Maddieson 2013b).<note
                        xml:id="ftn4" place="foot" n="4">If no entry in WALS, we considered
                        Ackerlind / Jones-Kellogg (2011) and Mateus / Andrade (1998).</note>
                </p>
                <table rend="frame" xml:id="Table1">
                    <head>Table 1. General aspects of language structure for applicable large web languages</head>
                    <row role="label">
                        <cell rend="bold">Language</cell>
                        <cell rend="bold">Vowel Inventory</cell>
                        <cell rend="bold">Consonant Inventory</cell>
                        <cell rend="bold">Syllable Structure</cell>
                    </row>
                    <row>
                        <cell>English</cell>
                        <cell>Large (7-14)</cell>
                        <cell>Average</cell>
                        <cell>Complex</cell>
                    </row>
                    <row>
                        <cell>Russian</cell>
                        <cell>Average (5-6)</cell>
                        <cell>Moderately large</cell>
                        <cell>Complex</cell>
                    </row>
                    <row>
                        <cell>Spanish</cell>
                        <cell>Average (5-6)</cell>
                        <cell>Average</cell>
                        <cell>Moderately complex</cell>
                    </row>
                    <row>
                        <cell>Turkish</cell>
                        <cell>Large (7-14)</cell>
                        <cell>Average</cell>
                        <cell>Moderately complex</cell>
                    </row>
                    <row>
                        <cell>Persian</cell>
                        <cell>Average (5-6)</cell>
                        <cell>Average</cell>
                        <cell>Complex</cell>
                    </row>
                    <row>
                        <cell>French</cell>
                        <cell>Large (7-14)</cell>
                        <cell>Average</cell>
                        <cell>Complex</cell>
                    </row>
                    <row>
                        <cell>German</cell>
                        <cell>Large (7-14)</cell>
                        <cell>Average</cell>
                        <cell>Complex</cell>
                    </row>
                    <row>
                        <cell>Japanese</cell>
                        <cell>Average (5-6)</cell>
                        <cell>Moderately small</cell>
                        <cell>Moderately complex</cell>
                    </row>
                    <row>
                        <cell>Portuguese</cell>
                        <cell>Large (7-14)</cell>
                        <cell>Average</cell>
                        <cell>Moderately complex</cell>
                    </row>
                    <row>
                        <cell>Vietnamese</cell>
                        <cell>Large (7-14)</cell>
                        <cell>Average</cell>
                        <cell>Moderately complex</cell>
                    </row>
                </table>
                <p>We chose Spanish. We downloaded and merged all Spanish corpora from Universal
                    Dependencies 2.6.<note xml:id="ftn0" place="foot" n="5"
                        >universaldependencies.org</note> Before substituting letters, we applied
                    the following changes: </p>
                <list type="ordered">
                    <item>We substituted the upside-down question mark characteristic for Spanish orthography by a question particle, which we called ’hal’ as its Arabic equivalent. However, this was applied to content and yes/no questions.</item>
                    <item>We substituted all feminine definite articles in either singular or plural by their masculine counterpart. Although this transformation did not change the complete gender system, it is statistically significant at least in theory.</item>
                    <item>We substituted the synthetic future with the -ra type endings by an analytic one with the verb volver. Thus ’tu comerás’ becomes ’tu vuelves comer’.</item>
                    <item>Finally, we added a peculiar feature to the source language, which is not very widespread in European languages, at least not for the expression of grammatical properties: partial reduplication. For superlatives of Adjectives or Adverbs, which were continuous tokens as ’el más X’, we substituted by the initial sequence until the (first or if present) second vowel, which resulted in a full reduplication if the token was short, such as 
                        <hi rend="italic">bajobajo</hi>. Examples: 
                        <hi rend="italic">descodesconocido, impoimportante, evievidentes</hi>.
                    </item>
                </list>
                <p>After this, we applied a letter mapping with a sum total of 36 transformations,
                    including three 2:1 and three 1:2 transformations. Spanish is thus not trivially
                    reconstructible. If one would expect text in the AL to be encrypted, then a
                    letter frequency analysis independent of the letters could reconstruct it
                    otherwise.</p>
                <p>Upon development, we created more than one mapping and each time consulted the statistics of the generated text until we found the result to be normal with respect to statistics. The tools we used to analyze the generated texts were:</p>
                <list type="ordered">
                    <item>Analysis of the distribution of letters with R in comparison to a variety of languages.</item>
                    <item>Zipfplots created with R and compared to Zipfplots of other languages (Montemurro 2011).</item>
                    <item>We combined usually three words (low frequency, mid-frequency and high-frequency words) and noted the primary languages of the first 20 pages found in a web query. The desired result should i) be diverse and ii) not feature a lot of Spanish.</item>
                </list>
                <table rend="frame" xml:id="Table2">
                    <head>Table 2. Queries and results for Jucearm on the “virgin web” (before Jucearm).</head>
                    <row role="label">
                        <cell rend="bold">Queries</cell>
                        <cell rend="bold">Results</cell>
                    </row>
                    <row>
                        <cell>ba (HF) ajs (HF) az (HF)</cell>
                        <cell>English 12, German 6, Polish 1, Codes 1</cell>
                    </row>
                    <row>
                        <cell>az (HF) sjemdu (MF) wepez (LF)</cell>
                        <cell>no results</cell>
                    </row>
                    <row>
                        <cell>zovasj (MF) ba (HF) asj (HF)</cell>
                        <cell>English 5, German 3, Codes 2, Turkish 1</cell>
                    </row>
                    <row>
                        <cell>az (HF) sjemdu (MF) zovasj (MF)</cell>
                        <cell>no results</cell>
                    </row>
                    <row>
                        <cell>sjebu (MF) wepez (LF) azvamnuz (LF)</cell>
                        <cell>no results</cell>
                    </row>
                </table>
                <p>In the grapheme system of the AL appear grapheme sequences which seem difficult
                    to pronounce and unusual, such as &lt;cj&gt; or &lt;sj&gt;. However, these
                    grapheme sequences constitute graphemic units as parts of writing systems and
                    could for instance represent palatalized sounds in our AL. For example,
                    &lt;cj&gt; is a part of the Friulian writing system and represents the voiceless
                    palatal stop /c/ (Miotti 2002) or &lt;sj&gt; which consitutes the voiceless
                    velopalatal fricative /ɧ/ in Swedish (Holmes / Hinchliffe 2013). This means that
                    the language is readable applying some idiosyncratic graphemic unit to phoneme
                    rules such as &lt;sj&gt; /ʃ/ as many languages do possess. An example of the
                    original Spanish and our correspondent a posteriori AL:</p>
                <p>
                    <hi rend="bold">Spanish:</hi> Es como si los hubieran estado golpeando contra el pared durante horas.
                </p>
                <p>
                    <hi rend="bold">Jucearm:</hi> Uz sunu zo sjuz figoamez azpebu dusjwaezbu suzpme asj wemab bimezpa fumez.
                </p>
            </div>
            <div type="div1" rend="DH-Heading">
                <head>Named Entities</head>
                <p>Transforming a text in the above-described way would also affect Named
                    Entities(NE), which can be orthographically much more complex than average words
                    of a language and often include abbreviations/acronymes. A text without Nes
                    would be unusual and a text with almost only language internal NEs and no loaned
                    ones may be even more so.</p>
                <p>We extract a list of NEs using spaCy’s Named Entity Recognizer (NER).<note
                        xml:id="ftn5" place="foot" n="6">https://spacy.io</note>The data-set we used
                    for the extraction consists of Wikipedia dumps of 14 different languages:
                    Afrikaans, Albanian, Basque, Danish, Estonian, French, Italian,Croatian,
                    Lithuanian, Polish, Portuguese, Romanian, Swedish and Turkish. We then used the
                    program wiki-extractor<note xml:id="ftn6" place="foot" n="7"
                        >https://github.com/attardi/wikiextractor</note>to extract only text data
                    from the Wikidump. Using spaCy and individually trained models, we extracted
                    overall 8.000 tokens of Named Entities. </p>
                <p>We then substituted all the NE tagged instances from the UD base corpus by one
                    random entry of the NER list. Sometimes we slightly adapted the names to typical
                    Jucearm letter sequences. We classified the result, the final corpus, with
                    Facebooks fastText <note xml:id="ftn7" place="foot" n="8"
                        >https://fasttext.cc/</note>which gave Slovenian as a result. </p>
            </div>
            <div type="div1" rend="DH-Heading">
                <head>Migration into the internet</head>
                <p>The (main) goal of this paper is to imitate/emulate a situation of a typical LRL. We use our experience in the work with LRLs on the web (Hoenen et al. 2020) to find suitable places. Yet, we want to be legally certain to put our AL in specific places on the internet, where it is first legal/allowed and second does no damage. In order to verify the validity of both mentioned aspects, we looked at the general terms and conditions as well at all privacy policies on every page in which we have placed our text. Furthermore we made sure, that it is possible to delete each placed text after the experiment. We placed some content on our homepages (2 domains, with a pdf also placed), placed some content on social media and bid a ‘book in Artificial Language’ with an excerpt of Jucearm on a vendor platform. We also placed a genuine sentence in the AL on Wikipedia in a fitting article where it persisted in Ukrainian.</p>
            </div>
            <div type="div1" rend="DH-Heading">
                <head>Live-Experiment</head>
                <p>We created a “starter kit” in the An Crúbadán format<note xml:id="ftn8"
                        place="foot" n="9">http://crubadan.org/</note>with a word list and a short
                    grammatical sketch. Based on the starter package, we instructed 5 participants
                    to search for the placed contents in the AL. The results of the experiment
                    showed that all participants had found at least one of the subpages on our own
                    websites; four had also found more than one piece of content. Four participants
                    found the text in the Wikipedia article and three found our classified ad in the
                    AL. In the end, none of the participants found the entries on Social Media. All
                    participants used search engines (primarily Google) for the experiment, by using
                    queries of multiple terms, single words, or the name of the AL itself. </p>
            </div>
            <div type="div1" rend="DH-Heading">
                <head>Discussion and Conclusion</head>
                <p>Since most probably for no living medium-size LRL on the web all places of content are known with certainty, approaching the quality of the simulation must remain controversal. Despite being only a small start, the results are however encouraging and could point to modern corpus crawling for LRLs being quite effective concerning recall. </p>
            </div>
        </body>
        <back>
            <div type="bibliogr">
                <listBibl>
                    <head>Bibliography</head>
                    <bibl>
                        <hi rend="bold">Ackerlind, Sheila R.</hi> / <hi rend="bold">Jones-Kellogg,
                            Rebecca</hi> (2011): <hi rend="italic"> </hi>
                        <hi rend="italic">Portuguese: A reference manual.</hi> University of Texas
                        Press. </bibl>
                    <bibl>
                        <hi rend="bold">Higley, Sarah</hi> (2007): <hi rend="italic">Hildegard of
                            Bingen’s unknown language: An edition, translation, and discussion</hi>.
                        Springer. </bibl>
                    <bibl>
                        <hi rend="bold">Hoenen, Armin</hi> / <hi rend="bold">Koc, Cemre</hi> / <hi
                            rend="bold">Rahn, Marc D.</hi> (2020): “A manual for webcorpus crawling
                        of low resource languages”, in: <hi rend="italic">Umanistica Digitale</hi>
                        4, 8. </bibl>
                    <bibl>
                        <hi rend="bold">Holmes, Philip</hi> / <hi rend="bold">Hinchliffe, Jan</hi>
                        (2011): <hi rend="italic">Swedish: A comprehensive grammar.</hi>
                    </bibl>
                    <bibl>
                        <hi rend="bold">Maddieson, Ian</hi> (2013a): “Consonant inventories”, in:
                        Dryer, Matthew S. Dryer / Haspelmath, Martin (eds.): <hi rend="italic">The
                            World Atlas of Language Structures Online</hi>. Leipzig: Max Planck
                        Institute for Evolutionary Anthropology. </bibl>
                    <bibl>
                        <hi rend="bold">Maddieson, Ian</hi> (2013b): “Syllable structure”, in:
                        Dryer, Matthew S. /Haspelmath, Martin (eds.): <hi rend="italic">The World
                            Atlas of Language Structures Online</hi>. Leipzig: Max Planck Institute
                        for Evolutionary Anthropology. </bibl>
                    <bibl>
                        <hi rend="bold">Maddieson, </hi>
                        <hi rend="bold">Ian</hi> (2013c): “Vowel quality inventories”, in: Dryer,
                        Matthew S. /Haspelmath, Martin (eds.): <hi rend="italic">The World Atlas of
                            Language Structures Online</hi>. Leipzig: Max Planck Institute for
                        Evolutionary Anthropology. </bibl>
                    <bibl>
                        <hi rend="bold">Mateus, Maria H.</hi> / <hi rend="bold">d'Andrade,
                            Ernesto</hi> (1998): “The syllable structure in european portuguese”,
                        in: <hi rend="italic">DELTA: Documentação de Estudos em Lingüística Teórica
                            e Aplicada</hi> 14, 1: 13–32. </bibl>
                    <bibl>
                        <hi rend="bold">Miotti, Renzo</hi> (2002): “Friulian”, in: <hi rend="italic"
                            >Journal of the International Phonetic Association</hi> 32, 2: 237–247. </bibl>
                    <bibl>
                        <hi rend="bold">Montemurro, Marcelo A.</hi> (2001): “Beyond the
                        zipf–mandelbrot law in quantitative linguistics”, in: <hi rend="italic"
                            >Physica A: Statistical Mechanics and its Applications</hi> 300, 3-4:
                        567–578. </bibl>
                    <bibl>
                        <hi rend="bold">Sanders, Nathan</hi> (2016): “Constructed languages in the
                        classroom”, in: <hi rend="italic">Language</hi> 92, 3: e192–e204. </bibl>
                    <bibl>
                        <hi rend="bold">Scannell, Kevin P.</hi> (2007): “The Crúbadán Project:
                        Corpus building for under-resourced languages”, in: <hi rend="italic"
                            >Building and Exploring Web Corpora: Proceedingsof the 3rd Web as Corpus
                            Workshop</hi> 4: 5–15. </bibl>
                </listBibl>
            </div>
        </back>
    </text>
</TEI>
