<!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>AMRITA_CEN@FIRE 2016: Code-Mix Entity Extraction for Hindi-English and Tamil-English Tweets</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>CCS Concepts</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Remmiya Devi G, Veena P V, Anand Kumar M and Soman K P Centre for Computational Engineering and Networking (CEN) Amrita School of Engineering, Coimbatore Amrita Vishwa Vidyapeetham, Amrita University</institution>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <fpage>3</fpage>
      <lpage>7</lpage>
      <abstract>
        <p>Social media text holds information regarding various important aspects. Extraction of such information serves as the basis for the most preliminary task in Natural Language Processing called Entity extraction. The work is submitted as a part of Shared task on Code Mix Entity Extraction for Indian Languages(CMEE-IL) at Forum for Information Retrieval Evaluation (FIRE) 2016. Three different methodology is proposed in this paper for the task of entity extraction for code-mix data. Proposed systems include approaches based on the Embedding models and feature based model. Creation of trigram embedding and BIO tag formatting were done during feature extraction. Evaluation of the system is carried out using machine learning based classifier, SVM-Light. Overall accuracy through cross validation has proven that the proposed system is efficient in classifying unknown tokens too.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>Entity extraction has always been the most primary task
in Natural language processing. It is defined as a task of
extracting the named entities from any text. Generally,
entities fall under the categories of name, person, and
organization. It extends to date, time, period, month etc. Entity
extraction in social media text is viewed as an information
extraction task. Social media text is generally unstructured,
yet it is informative. Extracting such informative content
from an unorganized text format is the most challenging
task. In our task we deal with social media text, specifically
code-mix twitter dataset. In a society using multilingual
languages, conversation in code mixed language is prevalent.
Code-mix language is the combination of English language
with any other language. An example for code mixed
language from the Hindi-English training data is given below.</p>
      <p>shaq hai ki humari notice ke bagair tere ghar ke secret
route ki help se you met</p>
      <p>In the above example, Hindi words are in italics and
English words are in bold. Communication through social
networking sites likes Facebook and Twitter are in code-mix
language. Dataset given for this task includes two subsets,
where Indian languages like Hindi and Tamil were mixed
with Roman script. The major task is to develop a method
that is applicable to process and extract the entities of the
data in code-mix language.</p>
      <p>
        In recent years, a significant number of researches were
carried out in the field of data processing using code-mix
data. A language identification task was carried out for
code-mix social media data [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. A paper was published on
thematic knowledge discovery using topic modeling for chat
messages in code mixed language [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. SVM based
classification for entity extraction was carried out previously for
Indian languages [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Conditional Random Field (CRF) based
entity extraction was implemented and Rich features of
Indian Languages were also utilized to perform Named Entity
Recognition [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Entity extraction using Structured skip
gram based embedding features was implemented for
Malayalam language [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        Our submission includes three systems. First system is
using word embedding features obtained from wang2vec tool
[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Word embedding features are generally vector
representation of words. The second system utilizes word
embedding features from word2vec tool [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The major difference
between wang2vec and word2vec features lies in the Skip
gram model used to develop these embedding features. In
third system, stylometric features were extracted from the
training data. Extracted features from system 1, 2 and 3
are used to develop three separate models using machine
learning based classifier SVM-Light [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>An overview of the task description is given in Section
2. Details regarding the dataset used is given in Section
3. Section 4 discusses on the proposed system we used for
the task. Experiments carried out and their corresponding
results are discussed in Section 5. The conclusion of the
paper is stated in Section 6.
2.</p>
    </sec>
    <sec id="sec-2">
      <title>TASK DESCRIPTION</title>
      <p>The task organizers provided us with dataset obtained
from Twitter and other few microblogs. Given training data
contains two set of dataset with code mixed tweets -
HindiEnglish and Tamil-English. The task is to extract the
entities from these two dataset. Named entities in the dataset
include Person, Location, Organization, Entertainment and
so on. With the increasing number of social media platforms
and the use of code-mix language in them, this task holds a
significant relevance in today’s world.</p>
    </sec>
    <sec id="sec-3">
      <title>DATASET DESCRIPTION</title>
      <p>
        The task contains two code-mix dataset, Hindi-English
and Tamil-English. The training data contains three
fieldsTweet ID, User ID and the tweets. Each training file holds
a corresponding annotation file. Annotation file contains
Tweet ID, User ID, Length, Index and Entity tag of the
entities present in the train data. Hindi-English training data
includes tweets entirely in code-mix language but
TamilEnglish dataset includes some tweets in pure Tamil
language. Since we proposed embedding based methodology,
we were in need of additional dataset to train our word
embedding model. The additional dataset for Hindi-English
were collected from Mixed Script Information Retrieval 2016
(MSIR) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], International Conference on Natural Language
Processing (ICON) 2015 POS Tagging task [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and some
twitter data. Dataset provided by Sentiment Analysis in
Indian Languages (SAIL-2015) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] were used for
TamilEnglish. The total number of tweets in the training data,
testing data and average tokens per tweet is tabulated in
Table 1. The additional dataset collected for Hindi-English
is 20671 and for Tamil-English is 1625.
      </p>
    </sec>
    <sec id="sec-4">
      <title>METHODOLOGY</title>
      <p>Our submission for the task of entity extraction in
codemix language includes three systems.</p>
      <p>• System 1: Wang2vec based embedding features
• System 2: Word2vec based embedding features
• System 3: Stylometric features
Social media text is generally subjected to various
preprocessing tasks. Given dataset includes Twitter data which is
subjected to tokenization. Each token from this tokenized
dataset is converted to conventional BIO format. This
results in BIO tag information for each word in the
training data. BIO tag is defined as Beginning, Inside, Outside
tag of entities. For example, consider the sentence, “Pranab
Mukherjee is the President of India”. In general, the
entity ‘Pranab Mukherjee’ indicates PERSON and ‘India’
indicates LOCATION. Since Pranab Mukherjee has two parts,
it is tagged as beginning and inside. Words other than
entities are tagged as O i.e. Outside. So using BIO tag, the
proposed system labels Pranab as B-PERSON, Mukherjee
as I-PERSON and India as LOCATION. This BIO tag
information is utilized in the three systems proposed in the
paper.</p>
      <p>Illustration of proposed feature based method is shown in
Figure 1 and word embedding based models are shown in
Figure 2.
4.1</p>
    </sec>
    <sec id="sec-5">
      <title>System 1: Wang2vec based embedding features</title>
      <p>Wang2vec model is the modified version of word2vec with
an improvement in the structure of skip gram model. This
modification made wang2vec better than word2vec. The
major difference in these two embedding models is that the
skip gram model in word2vec becomes Structured skip gram
model in wang2vec. The significant modification in this
model is the fact that the word order information is taken
into consideration. Wang2vec features are the word vectors
obtained using wang2vec model. The size of the vector n is
fixed during the training of wang2vec. Thus each word in
the training data holds a vector of size n, which is set as 50.
The resultant vectors are the word embedding features of the
given dataset. From these vectors, the left context and the
right context features were extracted and appended to the
original embedding features. This resulted in a feature set
of size 150. Integrating the context features to the original
features forms Trigram embedding features. Thus
embedding features along with BIO tag information is integrated
and given to train the SVM classifier. Hence a SVM model
corresponding to system 1 is obtained. Similar procedure
is followed for extraction of wang2vec embedding features
for test data. These features are used to form the trigram
embedding feature set, which is given to the SVM classifier
for testing.
4.2</p>
    </sec>
    <sec id="sec-6">
      <title>System 2: Word2vec based embedding features</title>
      <p>Word2vec model provides the vector representation for
each word. Input for word2vec is sentences, as the major
advantage of this model is that it provides vectors for each
word based on the context. Vector representation for each
word in the training data is obtained through Skip gram
model in word2vec. These vectors are used to develop a
entity extraction system. Similar to system 1, this system also
includes trigram embedding feature set of word2vec
embedding vectors.</p>
      <p>Each word from the training data is combined with its
corresponding BIO tag information and the trigram embedding
feature set. This combined feature set is given for training
machine learning based classifier, SVM-Light. After
training using SVM model, the test data is appended with the
trigram embedding features and is given for testing. SVM
classifier uses the knowledge acquired from training data and
performs recognition of entities in testing data.
4.3</p>
    </sec>
    <sec id="sec-7">
      <title>System 3: Stylometric features</title>
      <p>Our third system is implemented using stylometric
feature extraction. Features such as length, position, numbers,
hash tag, punctuation are considered to be the stylometric
features. The list of features used in our system is tabulated
in Table 2. Stylometric features of each word in the
training data is extracted. This feature set is integrated with
BIO tag information and used for developing a SVM model.
These features are also extracted for test data and given for
testing the system.</p>
      <p>The proposed methodology results with three SVM
models for the three systems using wang2vec features, word2vec
features and stylometric features.</p>
    </sec>
    <sec id="sec-8">
      <title>EXPERIMENTS AND RESULTS</title>
      <p>Experiments for system 1 and 2 are similar in case of
extracting word embedding features. Major difference
beIrshad-IIT-Hyd
Deepak-IIT-Patna</p>
      <p>Amrita CEN
NLP CEN Amrita
Rupal-BITS Pilani</p>
      <p>TEAM
Deepak-IIT-Patna</p>
      <p>Amrita CEN</p>
      <p>NLP CEN Amrita
Rupal-BITS Pilani-R2</p>
      <p>CEN@Amrita
tween these two features lies in the fact that system 1 will
use wang2vec embedding features which is retrieved using
structured skip gram model that takes the word order into
consideration. System 2 will use word2vec features retrieved
using skip gram model without the word order consideration.
In order to train word embedding model, additional dataset
is required. Input data for word embedding models i.e.,
word2vec and wang2vec will be the combination of training
data and additional dataset. The size of vector to be
generated is set to 50. From these 50 vectors, trigram embedding
feature set of size 150 has been extracted. The training
dataset is tokenized based on whitespace and is converted
to BIO-formatted data. For each word in the training data,
its BIO-tag along with the 150 embedding features are given
as input to the SVM classifier. Trigram embedding feature
set of test data is also extracted in the same manner.
After tokenization of test data, the trigram embedding feature
vectors of size 150 are given to classifier for testing.</p>
      <p>System 3 implements stylometric feature extraction for
code-mix data. Training data of Hindi-English and
TamilEnglish are subjected to the preprocessing task,
tokenization. For these tokenized words, features listed in Table 2
are extracted from training data. BIO tag information of
these words is combined to the extracted features and thus
forms stylometric feature set of training data. As far as
testing is concerned, the tokenized words and its corresponding
feature set is integrated and given to the classifier.</p>
      <p>Cross validation results for Hindi-English and Tamil-English
dataset using system 1, 2, 3 are tabulated in Table 3. The
System 1 which uses wang2vec based features have shown
better results in case of unknown tokens.</p>
      <p>According to the results provided by CMEE-IL
organizers, for Hindi-English we have acquired third place and for
Tamil-English we have acquired second place. The
Precision, Recall, F-measure of the top five teams for
HindiEnglish and Tamil English is tabulated in Table 4 and Table
5 respectively.</p>
    </sec>
    <sec id="sec-9">
      <title>CONCLUSION</title>
      <p>The work is submitted as a part of Shared task on Code
Mix Entity Extraction for Indian Languages in FIRE 2016.
The use of native languages using Roman script in social
media platforms is commonly seen today and extracting
entities like person, location or organization from them is a
challenging task. The task organizers provided us with data
from Twitter and other few microblogs. Three systems were
submitted for the task. The first two systems uses the word
embedding features of word2vec and wang2vec for entity
extraction task. The training data along with some
additionally collected dataset were used for training the word
embedding models. The third system uses only stylometric
features for classification. The three systems were trained
and tested using machine learning based classifier, Support
Vector Machine. As future work, instead of SVM based
classifier we are planning to use regression based methods.
7.</p>
    </sec>
    <sec id="sec-10">
      <title>ACKNOWLEDGMENT</title>
      <p>We would like to thank organizers of Forum for
Information Retrieval Evaluation 2016 for organizing the task. We
would also like to thank the organizers of the CMEE-IL task.
8.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Shared</given-names>
            <surname>Task on Mixed Script Information Retrieval</surname>
          </string-name>
          , https://msir2016.github.io,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>N.</given-names>
            <surname>Abinaya</surname>
          </string-name>
          ,
          <string-name>
            N. John,
            <given-names>H. Barathi</given-names>
            <surname>Ganesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Anand</given-names>
            <surname>Kumar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Soman.</surname>
          </string-name>
          AMRITA-CEN@FIRE-2014:
          <article-title>Named entity recognition for Indian languages using rich features</article-title>
          .
          <source>ACM International Conference Proceeding Series</source>
          ,
          <fpage>05</fpage>
          -
          <lpage>07</lpage>
          -Dec-
          <year>2014</year>
          :
          <fpage>103</fpage>
          -
          <lpage>111</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Anand Kumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shriya</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Soman.</surname>
          </string-name>
          AMRITA-CEN@
          <article-title>FIRE 2015: Extracting entities for social media texts in Indian languages</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          ,
          <volume>1587</volume>
          :
          <fpage>85</fpage>
          -
          <lpage>88</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>K.</given-names>
            <surname>Asnani</surname>
          </string-name>
          and
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Pawar</surname>
          </string-name>
          .
          <article-title>Discovering thematic knowledge from code-mixed chat messages using topic model</article-title>
          .
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>U.</given-names>
            <surname>Barman</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Das</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Wagner</surname>
            , and
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Foster</surname>
          </string-name>
          .
          <article-title>Code mixing: A challenge for Language Identification in the Language of Social Media</article-title>
          .
          <source>EMNLP</source>
          <year>2014</year>
          ,
          <volume>13</volume>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <article-title>[6] Joachims and Thorsten</article-title>
          . Svmlight:
          <article-title>Support vector machine</article-title>
          .
          <source>SVM-Light Support Vector</source>
          Machine http://svmlight. joachims. org/, University of Dortmund,
          <volume>19</volume>
          (
          <issue>4</issue>
          ),
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          , I. Sutskever,
          <string-name>
            <given-names>K.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Corrado</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Dean</surname>
          </string-name>
          .
          <article-title>Distributed representations of words and phrases and their compositionality</article-title>
          .
          <source>In Advances in neural information processing systems</source>
          , pages
          <fpage>3111</fpage>
          -
          <lpage>3119</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>B. G.</given-names>
            <surname>Patra</surname>
          </string-name>
          ,
          <string-name>
            <surname>D. Das</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Das</surname>
            , and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Prasath</surname>
          </string-name>
          .
          <article-title>Shared Task on Sentiment Analysis in Indian Languages (SAIL) Tweets-An Overview</article-title>
          .
          <source>In International Conference on Mining Intelligence and Knowledge Exploration</source>
          , pages
          <fpage>650</fpage>
          -
          <lpage>655</lpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>G.</given-names>
            <surname>Remmiya Devi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. V.</given-names>
            <surname>Veena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Anand</given-names>
            <surname>Kumar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Soman</surname>
          </string-name>
          .
          <article-title>Entity Extraction for Malayalam Social Media Text using Structured Skip-gram based Embedding Features from Unlabeled Data</article-title>
          .
          <source>Procedia Computer Science</source>
          ,
          <volume>93</volume>
          :
          <fpage>547</fpage>
          -
          <lpage>553</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Sanjay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Anand</given-names>
            <surname>Kumar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Soman.</surname>
          </string-name>
          AMRITA-CEN-NLP@
          <article-title>FIRE 2015:CRF based named entity extraction for Twitter microposts</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          ,
          <volume>1587</volume>
          :
          <fpage>96</fpage>
          -
          <lpage>99</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>S.</given-names>
            <surname>Shriya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Vinayakumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Anand</given-names>
            <surname>Kumar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. P.</given-names>
            <surname>Soman.</surname>
          </string-name>
          AMRITA-CEN@
          <article-title>SAIL2015: Sentiment Analysis in Indian Languages</article-title>
          .
          <source>In International Conference on Mining Intelligence and Knowledge Exploration</source>
          , pages
          <fpage>703</fpage>
          -
          <lpage>710</lpage>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Vyas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Bali</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Choudhury</surname>
          </string-name>
          .
          <article-title>POS Tagging of English-Hindi Code-Mixed Social Media Content</article-title>
          .
          <source>In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          , pages
          <fpage>974</fpage>
          -
          <lpage>979</lpage>
          . Association for Computational Linguistics,
          <year>October 2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Alan</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Isabel</surname>
          </string-name>
          .
          <article-title>Two/too simple adaptations of word2vec for syntax problems</article-title>
          .
          <source>In Proceedings of the</source>
          <year>2015</year>
          <article-title>Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</article-title>
          .,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>