<!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>HITS@FIRE task 2015: Twitter based Named Entity Recognizer for Indian Languages</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pallavi K P., Srividhya K., Rexiline Ragini John Victor, Ramya M. M.,</string-name>
          <email>mmramya@hindustanuniv.ac.in</email>
          <email>rs.pkp0310@hindustanuniv.ac.in, rs.sk0214@hindustanuniv.ac.in, rs.jrr0913@hindustanuniv.ac.in, mmramya@hindustanuniv.ac.in</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>• Human centered computing➝ Human machine interaction➝</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Processing, Named Entity Recognition,</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Collaborative and social computing • Applied Computing, ➝Document managing and text computing methodologies➝, Artificial Intelligence and Machine Learning.</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Fields</institution>
          ,
          <addr-line>n-fold validation, Twitter data</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Hindustan Institute of Technology and Science</institution>
          ,
          <addr-line>Padur, Chennai.</addr-line>
        </aff>
      </contrib-group>
      <fpage>81</fpage>
      <lpage>84</lpage>
      <abstract>
        <p>Natural Language processing (NLP) in its pure sense, is a platform that provides the ability for transforming natural language text to useful information. Named Entity Recognition (NER) is a key task in NLP for classification of named entities in natural languages. Though, there are several algorithms for named entity classification, identifying named entities in twitter data is a demanding task. Loads of information are being shared by people in twitter on a daily basis. This information is unstructured and often contains important information about organizations, politics, disasters, promotional advertisements etc. In this paper, we provide a NER that can effectively classify named entities in twitter data for Indian Languages such as English, Hindi and Tamil. POS, Chunk, Suffix, Prefix information has been used for training in Conditional Random Fields (CRF) based NER Model. CRF is a popular model for labeling and classification in text mining. Performance analysis was done using n-fold validation and F-measure. A maximum precision of 93.82 for English, 92.28 for Hindi and 86.94 for Tamil twitter data was achieved through N fold validation. Results provided by ESM-IL share task in terms of precision for English is 50.48, for Hindi is 81.49 and for Tamil 70.42. The proposed algorithm has a higher classification accuracy and it is achieved through n-fold validation.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>
        NLP is gaining prominence due to the importance given to social
media data such as twitter and Facebook. Twitter data are
predominantly extracted and monitored by public and private
organizations for analysis of various trends in the industry and for
opinion mining. For efficient NLP, corpus should be from the
same domain of the NLP application [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. NLP involves a set of
computational linguistic tools for interaction between computer
and natural languages. NER is one among such tools which
identifies and classifies names in a given corpus. NER is
backbone for several NLP applications such as language
translation, social media analysis and information mining.
      </p>
      <p>
        NER is important for Indian language twitter data, as
there is no clue in identifying named entities in them. Recognizing
named entities in social media data is quite challenging due to the
unstructured clauses in a sentence and entities are more diverse in
nature. There are a variety of approaches for recognizing named
entities. Supervised approaches include Hidden Markov Model
(HMM), Decision Trees, Maximum Entropy Model (MEnt),
Support Vector Machines (SVM) and CRF etc.. Here, for the
ESM-IL task, CRF has been used to develop NER for English,
Hindi and Tamil twitter data [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Several research work has been
done on Named Entity Recognition [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">3-5</xref>
        ]. Now Named Entity
Recognition is gaining popularity for its diverse applications in
the real world [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. PROBLEM DEFINITION</title>
      <p>Twitter is one of the popular social networking sites where people
share their opinions through their tweets. Each tweet or post can
contain a maximum of 140 characters, including smilies, hash
tags, other symbols and website links. We attempted to develop a
twitter based NER for English, Hindi and Tamil data. Twitter
training data were provided by ESM-IL for this task. Training
data included raw data files and annotated named entities. Before
pre-processing, annotated named entities were mapped with the
corresponding tweets in the raw data file, to label the named
entities. Group of labels is called as Tag set. A total of 22 tags
were identified from the training data, namely person, location,
organization, date, quantity, money etc.. Pre-processing has been
done before applying the methodology. It included tokenization
and removing noisy data.
3.</p>
    </sec>
    <sec id="sec-3">
      <title>METHODOLOGY USED</title>
      <p>CRF, a probabilistic approach for developing NER is used for
classification. CRF is a popular approach for effectively
classifying named entities. It takes into account the neighboring
samples or the context information of the sentence. But the
disadvantage in twitter data is, lack of context information.
Tweets in the raw data file were tokenized and pre-processed by
removing noisy data website links, hash tag, and smilies etc. was
done. Initially, neighboring samples were only considered in
developing the model for NER. Later to include lexical
information, POS taggers, Chunker and 1st, 2nd, 3rd degree
suffixes and prefixes were also added as features. The
methodology of the proposed algorithm is shown in Figure 1.</p>
      <sec id="sec-3-1">
        <title>Raw data Annotated data</title>
      </sec>
      <sec id="sec-3-2">
        <title>Pre-processing and tokenization</title>
      </sec>
      <sec id="sec-3-3">
        <title>POS tagger</title>
      </sec>
      <sec id="sec-3-4">
        <title>Chunker</title>
      </sec>
      <sec id="sec-3-5">
        <title>Suffix-Prefix extractor n-fold</title>
      </sec>
      <sec id="sec-3-6">
        <title>Test data Training data</title>
        <p>CRF
generated
NER
tagger</p>
      </sec>
      <sec id="sec-3-7">
        <title>Indexing and presentation of data Figure 1: Methodology of the NER</title>
        <p>Input considered for NER were raw and annotated data provided
by ESM-IL shared task. To avoid misclassification of named
entities, labelling was done by assigning the first word of the
entity with B-tag (Begining of the tag) and remaining words in the
same entity with I-tag (Inside the tag). With the help of the
annotated data, named entities in the raw data were mapped. For
pre-processing and in order to identify the noisy data rules were
framed. For eg., detection and removal of website links was
performed by checking for the presence of tokens such as http//:,
.com.</p>
        <p>
          For English parts of speech tagging and chunking,
pattern.en module was used [8]. It is a python based POS tagger
cum chunker for twitter data. Training in a twitter based POS
tagger provides better accuracy than a normal tagger. So pattern
POS tagger was preferred. Due to the unavailability of twitter
based POS tagger, for Hindi parts of speech tagging the tagger
provided by Society for Natural Language Technology Research
was used [9]. It is a CRF based open source software. Apart from
the POS and Chunk taggers, other features like suffixes and
prefixes were also used. The list of features used are provided in
Table 1.
For n-fold cross validation, the annotated data was randomly
portioned into five sub sets. Validation was performed by n
rounds of testing the system by providing one set of the annotated
data for testing each time and the remaining n-1 subsets for
training [
          <xref ref-type="bibr" rid="ref8">10</xref>
          ]. Each fold contained equal amount of tokens.
For NER task, CRF++ an open source package was used [11].
Conditional Random Fields is a probabilistic framework for
segmenting and labelling sequence data. From the literature it was
understood that CRF performs better than other models like
Hidden Markov Model by providing conditional probability and
Maximum Entropy Markov Models by observation and sequence
of labels [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Finally, indexing was done, and the data was
presented in the prescribed ESM-IL format.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. PERFORMANCE METRICS</title>
      <p>The performance metrics used for analysis are Precision, Recall
and F-measure. Precision and Recall are the most effective and
frequently used measures in case of information retrieval.</p>
      <sec id="sec-4-1">
        <title>Precision can be defined as</title>
      </sec>
      <sec id="sec-4-2">
        <title>Recall can be expressed as</title>
        <p>F-measure is defined as the weighted harmonic mean of precision
and recall.
where, True positives are the total number of NE’s tagged
correctly with boundaries.</p>
        <p>False positives are the total number of words that are wrongly
tagged by the system which are not tagged manually.
False negatives are the total number of untagged words by the
system which are manually tagged [12].</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. RESULTS AND DISCUSSION</title>
      <p>In this section, the results obtained with the CRF model is
discussed. Twitter data for experiment was provided by FIRE
2015. Table 2 compares the results obtained using n-fold
validation and the results provided by ESM-IL shared task.
As a part of the initial pre-processing website links, hash tags and
smilies were removed from the raw data. Further, POS tagging
and chunking for English data was done. This was given to the
CRF model and a test run was generated. A maximum F-measure
of value 80.81 was obtained. To improve the accuracy features
like prefixes and suffixes of the NE were included and a
maximum F-measure of 86.66 was obtained.</p>
      <p>For Hindi, after initial pre-processing, POS tagging was
done. An efficient chunker is not available for Hindi data, and
therefore chunking was not done. This was supplied as input to
the CRF model and a maximum F-measure of 83.49 was obtained.
Prefixes and suffixes of NEs were also combined with the existing
POS tags and 78.47 F-measure value was obtained. When
considering only prefixes and suffixes of NE as feature, the model
resulted in an F-measure of value 73.12. The classification
accuracy reduced for Hindi when compared to English due to the
unavailability of twitter based POS tagger and chunker.</p>
      <p>For Tamil data, since there is no proper POS tagger and
chunker available of twitter and generic data, features like suffixes
and prefixes of NE were considered and the model obtained a
maximum F-measure 79.87. Excluding the suffixes and prefixes,
considering only the tokens as a feature, the model gave an
Fmeasure of 62.95. The classification accuracy reduced for Tamil
data similar to Hindi due to the unavailability of Twitter based
POS tagger and chunker. Table 3 shows the examples for the
results obtained from CRF generated model for English, Hindi
and Tamil twitter data. Sample tweets contain tweet-id, user-id
and the tweet.
1.
2.
3.
1.
3.
624133739023446016 917553836 As outrage
builds, Karnataka Vikas Grameena Bank looks
at rescuing farmers: Much of the farming
community's outrage… http://dlvr.it/BcS9Kh
623537594798739456 3016932104 विश्व
फाइनल की मेजबानी करेगा ईनड गान्सड
http://hindi.webdunia.com/latest-cricketnews/twenty20-world-cup115072100078_1.html … pic.twitter.com/pqzyc
mT9b8
टी20
621569431932530688
மாவட்டம் கலல்ிடலயறிசக்ு
பாைதத்ால்
நெலல்ை</p>
      <p>நபாமதுகக்ள்
… http://goo.gl/fb/Efqp0N
317752766 நெலல்ை
றிதக்கபப்ட்ட
மழ்சகி
:</p>
      <p>NEs identified in tweets</p>
      <sec id="sec-5-1">
        <title>Karnataka B-ORGANIZATION Vikas I-ORGANIZATION Grameena I-ORGANIZATION Bank I-ORGANIZATION</title>
        <p>2. विश्व</p>
      </sec>
      <sec id="sec-5-2">
        <title>B-ENTERTAINMENT</title>
        <p>टी20: I-ENTERTAINMENT
ईनड
गान्सड</p>
      </sec>
      <sec id="sec-5-3">
        <title>B-LOCATION</title>
      </sec>
      <sec id="sec-5-4">
        <title>I-LOCATION</title>
        <p>நெலல்ை
மாவட்டம்
கலல்ிடலயறிசக்ு
B-LOCATION</p>
      </sec>
      <sec id="sec-5-5">
        <title>I-LOCATION</title>
        <p>B-LOCATION</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. CONCLUSION AND FUTURE WORK</title>
      <p>Named Entity Recognizers for English, Hindi and Tamil were
developed for the twitter data. A CRF based model was generated
by POS tagging, chunking and applying other feature information
to the given data. To test the accuracy of the CRF model n fold
validation was done. N fold experiment for training data gave a
maximum precision of 93.82 for English, 92.28 for Hindi and
86.94 for Tamil twitter data. ESM-IL evaluation for English,
Hindi and Tamil data resulted in competitive precisions of 81.49,
70.42 and 50.21 respectively. Due to the increase in the
percentage of recall, F-measure was reduced. This increase in
recall can be reduced by providing pre-processed rules based on
lexical resources.</p>
    </sec>
    <sec id="sec-7">
      <title>7. ACKNOWLEDGEMENTS</title>
      <p>The authors thank Hindustan Institute of Technology &amp; Science
for their continuous support.</p>
      <sec id="sec-7-1">
        <title>8. www.clips.ua.ac.be/pages/pattern-en</title>
      </sec>
      <sec id="sec-7-2">
        <title>9. nltr.org/snltr-software/</title>
        <p>11. https://taku910.github.io/crfpp/</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Pallavi</surname>
            ,
            <given-names>K. P.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Anitha</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Pillai</surname>
          </string-name>
          .
          <year>2015</year>
          ,
          <article-title>Kannpos-Kannada Parts of Speech Tagger Using Conditional Random Fields</article-title>
          . Emerging Research in Computing, Information,
          <source>Communication and Applications</source>
          . Springer India, (
          <year>Aug 2015</year>
          ),
          <fpage>479</fpage>
          -
          <lpage>491</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Lafferty</surname>
          </string-name>
          , John, Andrew
          <string-name>
            <surname>McCallum</surname>
          </string-name>
          , and
          <article-title>Fernando CN Pereira</article-title>
          .,
          <year>2001</year>
          ,
          <article-title>Conditional random fields: Probabilistic models for segmenting and labeling sequence data</article-title>
          .,
          <source>In Proceedings of the 18th International Conference on Machine Learning</source>
          <year>2001</year>
          , (
          <year>Jun 2001</year>
          ),
          <fpage>282</fpage>
          -
          <lpage>28</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Malarkodi</surname>
            ,
            <given-names>C. S.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Pattabhi</surname>
            ,
            <given-names>R. K.</given-names>
          </string-name>
          <string-name>
            <surname>Rao</surname>
          </string-name>
          and Sobha, Lalitha Devi,
          <year>2012</year>
          ,
          <string-name>
            <surname>Tamil</surname>
            <given-names>NER</given-names>
          </string-name>
          -
          <article-title>Coping with Real Time Challenges</article-title>
          ,
          <source>In Proceedings of the Workshop on Machine Translation and Parsing in Indian Languages, (Dec</source>
          <year>2012</year>
          ),
          <fpage>23</fpage>
          -
          <lpage>38</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Biswas</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , et al.,
          <year>2010</year>
          ,
          <string-name>
            <given-names>A</given-names>
            <surname>Two Stage Language Independent Named</surname>
          </string-name>
          <article-title>Entity Recognition for Indian Languages</article-title>
          ,
          <source>IJCSIT International Journal of Computer Science and Information Technologies</source>
          ,
          <volume>1</volume>
          .4 ,
          <fpage>285</fpage>
          -
          <lpage>289</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Saha</surname>
            ,
            <given-names>Sujan</given-names>
          </string-name>
          <string-name>
            <surname>Kumar</surname>
          </string-name>
          , et al.,
          <year>2008</year>
          ,
          <article-title>Named entity recognition in Hindi using maximum entropy and transliteration</article-title>
          .,
          <source>Research journal on Computer Science and Computer Engineering with Applications</source>
          ,
          <source>(Jul</source>
          <year>2008</year>
          ),
          <fpage>33</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Jung</surname>
          </string-name>
          , Jason J.,
          <year>2012</year>
          ,
          <article-title>Online named entity recognition method for microtexts in social networking services: A case study of twitter."</article-title>
          <source>Expert Systems with Applications</source>
          ,
          <volume>39</volume>
          ,
          <fpage>9</fpage>
          , (Jan
          <year>2012</year>
          ),
          <fpage>8066</fpage>
          -
          <lpage>8070</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Zirikly</surname>
            , Ayah, and
            <given-names>Mona</given-names>
          </string-name>
          <string-name>
            <surname>Diab</surname>
          </string-name>
          .
          <article-title>"Named entity recognition for arabic social media</article-title>
          .
          <source>" Proceedings of naacl-hlt. (Jun</source>
          <year>2015</year>
          ),
          <fpage>176</fpage>
          -
          <lpage>185</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          10.
          <string-name>
            <surname>John J. Hutton</surname>
          </string-name>
          , Pediatric Biomedical Informatics: Computer Applications in Pediatric Research, Springer Publications,
          <year>2012</year>
          . 12.
          <string-name>
            <surname>Christopher D. Manning</surname>
            , Prabhakar Raghavan and
            <given-names>Hinrich</given-names>
          </string-name>
          <string-name>
            <surname>Schütze</surname>
          </string-name>
          , Introduction to Information Retrieval, Cambridge University Press.
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>