<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Exploiting Named Entity Mentions Towards Code Mixed IR : Working Notes for the UB system submission for MSIR@FIRE'16</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Nikhil Londhe</string-name>
          <email>nikhillo@buffalo.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rohini K. Srihari</string-name>
          <email>rohini@buffalo.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>SUNY Buffalo</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>A sizable percentage of online user generated content is susceptible to code switching and code mixing owing to a variety of reasons. Thus, an expected consequence is that adhoc user queries on such data are also inherently code mixed. This paper thus presents our solution for a similar scenario : information retrieval on code mixed Hindi-English tweets. We explore techniques in information extraction, clustering and query expansion as part of this work and present our results on the test dataset. Our system achieved a MAP of 0.0217 on the test set and placed third on the rankings.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>A large number of languages like Russian, Hindi, Arabic,
etc._ that although have indigenous writing scripts, are
often expressed in the Roman script in online communication
due a variety of socio-cultural reasons. Furthermore, it is
not uncommon to see multilingual speakers switching
between di erent languages when expressing themselves in an
informal setting like social media. Hence, a large percentage
of user generated content, typically on social media is code
switched or code mixed, i.e., contains content in more than
one language that may or may not involve multiple writing
systems.</p>
      <p>
        Given the nature of the content, it is thus not unexpected
to see adhoc user queries on such data to be also code mixed.
For example, consider Table 1, that lists some sample queries
and sample target tweets that illustrate the given scenario.
The given problem was more formally introduced recently
by [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The second sub-task organized as part of the Mixed
Script Information Retrieval track [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] deals with the same
problem, described in detail as follows.
      </p>
      <p>Given a topic T , speci ed using a name, description and
narrative; a set of associated English-Hindi code mixed tweets
tT ; and a set of similarly code mixed queries QT against the
topic, the task involves returning the top k results for every
such query. A summary of the training dataset is presented
in Table 2. Some of the key challenges thus, can be
enumerated as:
1. Short and comparable document lengths :
Judging relevance on curated tweets can be especially hard
given that not only the documents are short in length,
thus, giving little context to work with but also that
all documents are comparable in length and are de
nitely somewhat relevant to the query / topic to begin
with.
2.</p>
    </sec>
    <sec id="sec-2">
      <title>TRAINING DATASET</title>
      <p>The training dataset can be summarized as follows:</p>
      <sec id="sec-2-1">
        <title>1. Topics: Total of 10 topics</title>
        <p>2. Queries: Total of 23 queries, ranging from 1 to 4 per
topic
3. Tweets: Total of 6142 tweets split between topics/queries
and ranging from 34 (Topic 9 / Q 21) to 3531 (Topic
1 / Q 4)</p>
        <p>Based on the question types and available data, we make
the following assumptions / observations:
1. Each query is an informational query about some Named</p>
        <p>Entity (NE)
2. Every query can also be completely described by a
triple as A[-rel -B] where [xx] indicates an optional
clause</p>
      </sec>
      <sec id="sec-2-2">
        <title>3. At least one of A or B is a Named Entity</title>
        <p>S.no Sample Query Example Tweets
1 delhi me election - rohit sharma ko dilli ka chunav ladwao !! newsmaker of the day
2 india ki haar #aapkasting thanks india ki haar ka dukh bhula diya tum logo ne
3 nirbhayaa ka rapist asharam bapu ka kehna hai mujhe nabalig samajhkar hi chod do . #nirbhayarapistout
4. When not a NE, A or B, are most likely a noun
5. NEs would usually be represented by a xed number</p>
        <p>of variants
6. Nouns on the other hand, could be represented by any
number of synonyms that could be drawn from both
languages (chunaav versus election for example)
7. The ordering of the clause (Noun-rel -NE versus
NErel -Noun) is dependent on the underlying language
(chunaav in delhi versus dilli mein election)</p>
        <p>Apart from the training dataset, no relevance judgments
were provided, binary or nuanced. The narrative with each
topic provided some insight into what was considered
relevant and non-relevant, but there were no clues to di
erentiate between two tweets given they both referenced the
same number of query tokens. Thus, we need to derive some
notion of aboutness or information content of each tweet to
determine relevance. Thus, a possible search strategy can
be formulated as:
1. Determine NE or NEs within the query and the tweets
- this could be a xed list or processed from Wikipedia
or other Knowledge Bases (KBs)
2. Find tweets that match as many tokens or as much of</p>
        <p>the remaining query as possible
3. Find some proxy for tweet aboutness and use it to</p>
        <p>determine relevance</p>
        <p>Using these three guiding principles, we now present the
di erent techniques we tried out and how they contributed
to our nal system run.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. INDEXING EXPERIMENTS</title>
      <p>In this section, we describe the di erent experiments we
conducted and the various system components that comprise
our nal runs.
3.1</p>
    </sec>
    <sec id="sec-4">
      <title>Apache Solr</title>
      <p>We used Apache Solr - an open source, scalable text search
engine written in Java and built over Apache Lucene as the
back-end for our system. It is fairly straightforward to index
any sort of data in Solr after de ning a schema. We present
our full schema de nition in Table 3. Thus, apart from the
data already provided, we augment it using two elds : NE
(see Section 3.2) and cluster id (see Section 3.3).
3.2</p>
    </sec>
    <sec id="sec-5">
      <title>NE tagger</title>
      <p>We implemented the NE tagger in two parts : (a) a regex
based extractor that generates a list of known NEs and (b)
a simple string matching based tagger that are explained
as follows. For the NE extractor, we used the topic
description les and automatically extracted longest possible
sequence of tokens wherein the sequence is delineated by a
token that begins with a capital letter. We then sorted the
list extracted as thus and eliminated duplicates and
subsequences. However, for every sub-sequence that we
eliminated, we tagged the parent entity as being capable of being
present as a sub-string. For example, the entity Narendra
Modi could be present as a whole or as individual tokens
namely Narendra or Modi. At the end of this step, we
had thus generated a list of NEs (of interest at least) and
a boolean ag indicating sub-sequence occurrence. A
snapshot of the extracted lists from the training dataset is shown
in Figure 1.</p>
      <p>
        The actual tagger followed a similar philosophy where we
started with the above list and tagged each tweet as follows.
We simply created a mapping from token to entity, wherein
the token was either de ned as the full entity or any of its
sub-tokens if it could be present partially. For example, in
the above case, for Narendra Modi, we created two mappings
as Narendra ! Narendra Modi and Modi ! Narendra Modi.
For each tweet, we then performed a look-up and added the
matching NE to the index if a match was found. Further,
we also added a Solr plugin for the modi ed Levenshtein
distance [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to match NEs with spelling variants occurring
due to transliteration across the two languages.
3.3
      </p>
    </sec>
    <sec id="sec-6">
      <title>Clustering</title>
      <p>
        Finally, we attempted to mine cross-lingual equivalents
and spelling variants for di erent words. Much akin to the
work of query expansion by [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], we rst explored the usage
      </p>
      <p>
        Description
Unique identi er for each tweet, UUID generated from raw text
Raw text for the tweet, stored after tokenization and minimal processing
Query Number
Topic Number
List of Named Entities referenced within this tweet
Union of cluster ids for all constituent tokens within the tweet
of Brown Clustering [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a hierarchical clustering algorithm
that exploits word distributional similarities. We used the
freely available python implementation [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and tested with
a few cluster sizes. We found a value of 100 to be a
reasonable balance between unrelated words (10-50) to fragmented
clusters (500-1000). We also found that for the given
setting, words with similar spellings (e.g. jaise, jaisey, jaisay)
or in ectional variants (e.g. ka, ke, ko, etc.) were assigned
to the same cluster. As an unintended side-e ect however,
the clustering also assigned similarly spelled English words
with the same POS labels (i.e. verbs like cooking, cooling
etc)_ to the same cluster.
      </p>
      <p>Thus, we automatically generated a synonym list using the
above results using a two step process. First, we removed
all words that were found in a standard English dictionary.
This was done to remove any false positives. Secondly, we
deemed a set of words to be equivalents if their edit distance
was less than a pre-determined threshold of three. The said
threshold was manually determined by trial and error over a
small test set. All such matching pairs thus generated were
then combined into a single synonym le as partially shown
in Figure 2.</p>
      <p>Having described the individual components that
comprise our system, we now turn our attention to presenting
the overall system in the following section.</p>
    </sec>
    <sec id="sec-7">
      <title>4. SYSTEM DESCRIPTION</title>
      <p>The basic system architecture is shown in Figure 3. It
includes the following components as introduced earlier: Solr
(and its associated index), Query Processor (that includes
NE tagger) and the extracted synonyms. Two additional
inputs are (a) the search con guration that de nes the
different weights, choice of scoring mechanism etc._ and (b)
the topic narrative les that are additionally ingested as
described below. Note that the diagram shows three di erent
con gurations, additive in nature for each of the three runs
submitted.</p>
      <p>Before we describe the three runs, we present some
additional details on the query processor and Solr con guration.
In continuation with the schema as presented in Table 3,
given: - Query Q of n tokens as q1, q2, ... , qn -
Predetermined query weights Wf = w1, w2, ... , wk for elds
f1, f2, ... , fk as stored within the con guration</p>
      <p>The processor then partitions or generates eld level parses
of the query as Qf = q1f , q2f , ... , qkf and passes the nal
query to Solr as Qf Wf .</p>
      <p>
        Secondly, as mentioned in Section 1, we also needed to
gure out some notion of relevance. Given the lack of any
additional information, we chose a simple voting based scheme.
Solr supports a variety of di erent ranking models and thus,
we con gured four distinct Solr instances each with a di
erent relevance scheme as enumerated below:
1. Lucene Similarity: This is an implementation of the
classic tf-idf similarity that uses ptf and 1 + log( Nd+f1 )
as normalization factors
2. Okapi similarity: A probabilistic relevance model as
introduced by [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
3. Language model: Uses Jelinek-Mercer smoothing on
a language model as proposed by [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
4. DFR similarity: The Divergence From Randomness
models as suggested by [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. We used the Inverse
Expected document frequency (I(ne)) model with
Laplacian smoothing and Zip an normalization in our
experiments.
      </p>
      <p>For the rst three models, we used the default settings
and for DFR, we manually experimented with a few queries
and returned results to settle on the selected model. For a
given query, the system executes it in parallel on the four</p>
      <p>Topic
subsystems, normalizes the returned scores and combines
the results into a single ranked list.</p>
      <p>We enumerate the three runs as follows:
1. Run 1 - Named Entity boosts : In the rst run,
we performed two levels of query matching - one was
boosting the documents based on their NE matches
from the query, i.e., the query was parsed to extract
NEs and each document (tweet) that matched the given
NE was provided a small numeric boost. The
second level of boosting utilized phrase matching, i.e.,
documents that more closely matched the input query
phrase were ranked higher than those that did not.
2. Run 2 - Synonym expansion: We merely expanded
the given query based on these synonyms over the
ranking mechanism presented for Run 1.
3. Run 3 - Narrative based weighting: For the nal
run, we extracted NEs from the provided topic
narratives and assigned positive or negative boosts based
on the associated word usage \relevant" and \not
relevant". These additional weights were applied over the
scheme presented in Run 2.</p>
    </sec>
    <sec id="sec-8">
      <title>RESULTS &amp; CONCLUSIONS</title>
      <p>We present a summary of the test dataset and the results
from each of the runs in Table 4. We make the following
observations:</p>
      <p>Overall, the best system performance was our baseline
system. Synonym expansion performs second best and
narrative based weighting performs the worst.</p>
      <p>In hindsight, the techniques used by us perhaps
improved recall at the cost of precision
The only queries where synonym expansion works
better than not having any synonyms is perhaps where
there is a spelling mismatch between query and text
(queries 10 and 12).</p>
      <p>Thus, we could have used \pessimistic" expansion
only use it if adequate results not available.</p>
      <p>When multiple NEs are present (queries 1-3), our
system gets confused and returns non relevant results.</p>
      <p>As part of future improvements, we thus need de ne a
better notion of relevance and aboutness at a tweet level,
speci cally ascertain the information content of each tweet.
In summary, our work showed three important results : (a)
Named Entities have a very important role in IR on tweets
and system performance could be improved by using more
sophisticated NE taggers (b) simple clustering on topic wise
tweets can give considerable insight into the constituent words
- enough to derive spelling and in ectional variants and
(c) in the given setting, precision is very sensitive to small
changes and hence, typical recall improving techniques should
be used as a \last resort".
6.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>G.</given-names>
            <surname>Amati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Joost</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Rijsbergen</surname>
          </string-name>
          .
          <article-title>Probabilistic models for information retrieval based on divergence from randomness</article-title>
          .
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Banerjee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Chakma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. K.</given-names>
            <surname>Naskar</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Das</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Bandyopadhyay</surname>
            , and
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Choudhury</surname>
          </string-name>
          .
          <article-title>Overview of the Mixed Script Information Retrieval (MSIR) at FIRE</article-title>
          .
          <source>In Working notes of FIRE 2016 - Forum for Information Retrieval Evaluation</source>
          , Kolkata, India, December 7-
          <issue>10</issue>
          ,
          <year>2016</year>
          ,
          <string-name>
            <given-names>CEUR</given-names>
            <surname>Workshop</surname>
          </string-name>
          <article-title>Proceedings</article-title>
          . CEUR-WS.org,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>P. F.</given-names>
            <surname>Brown</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. V.</given-names>
            <surname>Desouza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. L.</given-names>
            <surname>Mercer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. J. D.</given-names>
            <surname>Pietra</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Lai</surname>
          </string-name>
          .
          <article-title>Class-based n-gram models of natural language</article-title>
          .
          <source>Computational linguistics</source>
          ,
          <volume>18</volume>
          (
          <issue>4</issue>
          ):
          <volume>467</volume>
          {
          <fpage>479</fpage>
          ,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>K.</given-names>
            <surname>Chakma</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Das</surname>
          </string-name>
          .
          <article-title>Cmir: A corpus for evaluation of code mixed information retrieval of hindi-english tweets</article-title>
          .
          <source>In International Conference on Intelligent Text Processing and Computational Linguistics</source>
          . Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Bali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. E.</given-names>
            <surname>Banchs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Choudhury</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Rosso</surname>
          </string-name>
          .
          <article-title>Query expansion for mixed-script information retrieval</article-title>
          .
          <source>In Proceedings of the 37th international ACM SIGIR conference on Research &amp; development in information retrieval</source>
          , pages
          <volume>677</volume>
          {
          <fpage>686</fpage>
          . ACM,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>Liang</surname>
          </string-name>
          .
          <article-title>Semi-supervised learning for natural language</article-title>
          .
          <source>PhD thesis</source>
          , Massachusetts Institute of Technology,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>N.</given-names>
            <surname>Londhe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Gopalakrishnan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. K.</given-names>
            <surname>Srihari</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhang</surname>
          </string-name>
          . Mess:
          <article-title>A multilingual error based string similarity measure for transliterated name variants</article-title>
          .
          <source>In Proceedings of the 7th Forum for Information Retrieval Evaluation</source>
          , pages
          <volume>47</volume>
          {
          <fpage>50</fpage>
          . ACM,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S. E.</given-names>
            <surname>Robertson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Walker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. M.</given-names>
            <surname>Hancock-Beaulieu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gatford</surname>
          </string-name>
          , et al.
          <source>Okapi at trec-3. NIST SPECIAL PUBLICATION SP</source>
          ,
          <volume>109</volume>
          :
          <fpage>109</fpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhai</surname>
          </string-name>
          and
          <string-name>
            <surname>J.</surname>
          </string-name>
          <article-title>La erty. A study of smoothing methods for language models applied to ad hoc information retrieval</article-title>
          .
          <source>In Proceedings of the 24th annual international ACM SIGIR conference on Research and development in information retrieval</source>
          , pages
          <volume>334</volume>
          {
          <fpage>342</fpage>
          . ACM,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>