<!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>A proposed system to identify and extract abbreviation definitions in Spanish biomedical texts for the Biomedical Abbreviation Recognition and Resolution (BARR) 2017</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Christian Sa´nchez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paloma Mart´ınez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department, Universidad Carlos III of Madrid Avd. Universidad</institution>
          ,
          <addr-line>30, Legane ́s, 28911, Madrid</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <fpage>264</fpage>
      <lpage>271</lpage>
      <abstract>
        <p>Biomedical Abbreviation Recognition and Resolution (BARR) is an evaluation track of the 2nd Human Language Technologies for Iberian languages (IberEval) workshop, which is a workshop series organized by the Sociedad Espan˜ola del Procesamiento del Lenguaje Natural (SEPLN). In this first edition of BARR, the focus is on the discovery of biomedical entities and abbreviation, and relating detected abbreviations with their long forms. This paper describes the system and the approach presented in this track. We develop a ruled-based system using an adapted version of the algorithm for extraction of abbreviations and their definitions from biomedical text proposed by Schwartz &amp; Hearst.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>The interest in automatic text processing of biomedical documents has increased in the
last few years. There is some research that proposes certain solutions and approaches for
the problem of recognition and resolution of abbreviations, acronyms and symbols, but
most of it is focused on analyzing text written in English. In this context, the Biomedical
Abbreviation Recognition and Resolution (BARR) track asked the participants to test
and submit processing text systems that are able to analyze and extract occurrences of
abbreviation-definition pair in biomedical documents written in Spanish.</p>
      <p>For our approach, and in line with other previous work and research, we refer to an
abbreviation as a Short Form (SF) and the definition as the Long Form (LF). For this
track, beside the mentioned elements, if a Short Form appears again in the text it is
considered or marked as Multiple, and if it is only an abbreviation without a definition
it is marked as Global.</p>
      <p>
        This paper is organized as follows: Section 2 describes our proposed approach.
Section 3 presents evaluation and results. Finally, conclusions and future work are discussed
in Section 4.
As previously stated, our goal was to analyze documents written in Spanish in order to
extract abbreviations and definitions. To accomplish this, first, we assume that a Short
Form will be placed after the Long Form, i.e: [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
      </p>
      <p>Las secuelas en la articulacio´n temporomandibular (ATM)</p>
      <p>In this example we consider ATM to be the abbreviation (Short Form) and
articulacio´n temporomandibular its definition (Long Form). The documents used for the
track contain a title and abstract; the analysis should be done in both.</p>
      <p>
        Our system is based on the algorithm proposed by Schwartz et al., which is divided
into two main tasks. The first one is to identify the Short forms [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]:
      </p>
      <p>Short forms are considered valid candidates only if they consist of at most
two words, their length is between two to ten characters, at least one of these
characters is a letter, and the first character is alphanumeric.</p>
      <p>
        The second task is to identify candidates for the long forms. As explained in the
mentioned paper, the long form must appear in the same sentence as the short form, it
should have no more than min(—A— + 5, —A— * 2) words, and composed of
contiguous words from the original text that include the word just before the short form.
When these tasks are completed, the main idea of the proposed algorithm is [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]:
Starting from the end of both the short form and the long form, move right
to left, trying find the shortest long form that matches the short form. Every
character in the short form must match a character in the long form, and the
matched characters in the long form must be in the same order as the
characters in the short form. Any character in the long form can match a character
in the short form, with one exception: the match of the character at the
beginning of the short form must match a character in the initial position of the first
(leftmost) word in the long form (this initial position can be the first letter of a
word that is connected to other words by hyphens and other non- alphanumeric
characters).
      </p>
      <p>Using the mentioned statements as guidelines, we divided the system process into
the following tasks:
2.1</p>
      <sec id="sec-1-1">
        <title>Short Form Identification and Validation</title>
        <p>The Short Form identification is performed using a set of rules and regular expressions.
The title and abstract are analyzed individually to get all the matches for any term
which complies with the criteria. Also its position in the text its extracted. At this point
the validation is performed with the use of regular expression and some pattern rules.
One of the regular expressions used was the following:
( [ A Z ] f 2 , g [ n
n /A Z0
9 ] ) n b</p>
        <p>It matches terms which contain at least 2 uppercase letters and could contain the
symbols (-, /) or any number. For example, in the following text:
Antecedentes y objetivos. El Registro Informatizado de Enfermedad Tromboembo´lica
(RIETE) es un registro prospectivo que incluye de forma consecutiva pacientes
diagnosticados de enfermedad tromboembo´lica venosa. Hemos comparado la
presentacio´n cl´ınica y la respuesta al tratamiento anticoagulante en pacientes con
enfermedad tromboembo´lica venosa idiopa´tica (ETEVI) versus secundaria (ETEVS,
asociada a algu´n factor de riesgo). Pacientes y me´todos. Se analizaron las diferencias
en las caracter´ısticas cl´ınicas,
The system will match the terms: RIETE, ETEVI, and ETEVS.</p>
        <p>Also, and in difference with the based Schwartz et al. work, we estimated the length
of an abbreviation between 2 and 8 characters and used that as a pattern rule. To
determine this length we use as a reference a resource which contains Spanish Medical
Abbreviations: Diccionario de siglas me´dicas 1. This estimation was made after an
analysis of the 3386 terms contained in the dictionary. First we obtained those terms
formed just by a word. This query matched 2676 terms, but in the results we got words
like: ’Arterioesclerosis’ which is not an abbreviation but a name of a disease. Then we
change the query to match all the terms starting with a least 2 capital letters. Applying
this criteria the documents matched were 2319 and we obtained terms like: ’AA’ which
have a few definitions ( Aminoa´cido, Anemia apla´sica, Aorta abdominal ) or one of the
longest ’PETHEMA’ (Programa para el estudio de la terape´utica de las hemopati´ıas
malignas).
2.2</p>
      </sec>
      <sec id="sec-1-2">
        <title>Short Form Extraction</title>
        <p>
          Once the terms are identified, they are stored in two lists (title, abstract) with their
positions in the text. Using the same text for the example above, the following demonstrates
how the system stores the results for the abstract analysis:
[
[ 0 ] : f
g ,
[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] : f
p o s i t i o n s : [
[ 0 ] ” 8 2 : 8 7 ”
] ,
t e r m :
        </p>
        <p>
          ” RIETE ”
p o s i t i o n s : [
[ 0 ] ” 3 5 8 : 3 6 3 ” ,
[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] ” 6 2 6 : 6 3 1 ” ,
[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] ” 7 2 9 : 7 3 4 ” ,
[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] ” 7 9 8 : 8 0 3 ” ,
[
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] ” 1 1 3 0 : 1 1 3 5 ” ,
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] ” 1 3 0 2 : 1 3 0 7 ” ,
[ 6 ] ” 1 7 2 9 : 1 7 3 4 ”
1 http://sedom.es/diccionario/
        </p>
        <p>
          ” ETEVI ”
p o s i t i o n s : [
[ 0 ] ” 3 8 4 : 3 8 9 ” ,
[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] ” 6 3 4 : 6 3 9 ” ,
[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] ” 7 5 5 : 7 6 0 ” ,
[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] ” 8 6 5 : 8 7 0 ” ,
[
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] ” 1 0 0 1 : 1 0 0 6 ” ,
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] ” 1 1 1 1 : 1 1 1 6 ” ,
[ 6 ] ” 1 2 5 3 : 1 2 5 8 ” ,
[ 7 ] ” 1 7 6 5 : 1 7 7 0 ”
] ,
t e r m :
g ,
        </p>
        <p>”ETEVS”</p>
        <p>As shown above, multiple matches of the same term are grouped as one record
in the list. This allows one to identify how many different terms are in the text. An
abbreviation could appear many times in a text. In this case the abbreviation that appears
together with a definition or Long Form is marked as the Short Form and the others are
marked as Multiple.
2.3</p>
      </sec>
      <sec id="sec-1-3">
        <title>Long Form Identification and Validation</title>
        <p>The Long Form identification is performed after the extraction of the Short Forms. Here
a similar approach as proposed by Schwartz is used. We take the position of each term
and evaluate the text from right to left. Each character of the term is used to find, for
instance, a word which starts with the same letter. If it does not match, a search inside
the word is performed to check if the word contains the letter. Stop Words, numbers
or any other non alphanumeric character are not take into account for this evaluation.
Once the number of matches in the text is equal to the length of the Long Form, the
system considers that it has a set of candidate words for the Long Form. The following
is an example for the extraction of the candidate words for the term ETEVI:
0 :
g ,
1 :
g ,
f
f</p>
        <p>I :
word :
V :
word :
1 ,
” i d i o p a t i c a ”
1 ,
” v e n o s a ”
2 :
g ,
3
g
f
f</p>
        <p>E :
T :
word :
E :
word :
1 ,
1 ,
” t r o m b o e m b o l i c a ” :
1 ,
” e n f e r m e d a d ”
g</p>
        <p>Here, each letter of the term has a matched word. Notice that in the element with
the index ’2’, the word ”tromboembolica” has two matched letters: the letter (t) at the
beginning and (e) in the middle.
2.4</p>
      </sec>
      <sec id="sec-1-4">
        <title>Long Form Extraction</title>
        <p>With the list of word candidates, the system identifies the start position of the leftmost
word candidate and the end position of the rightmost candidate and extracts all of the
text contained between them. With this we can obtain also the stop words discarded in
the identification step. Once a Long Form is extracted the term is marked as the Long
Form and the other occurrences are marked as Multiple. If there were not candidate
words the system classified the term as Global.
3</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Evaluation and results</title>
      <p>For the BARR track, the participating systems are evaluated with the F1-micro measure.
There were two required submissions to evaluate : entity prediction and relation
prediction. Before evaluation the system was tested with the sample corpus to get a glimpse
on how to process the data. At first we noticed that the files needed to be treated with
an UTF-8 encoding, as is recommended when processing documents written in
Spanish or other languages different than English. Here lies the main difference with our
approach and the one proposed by Schartz et al., because this subject is key for proper
data extraction and manipulation for this track.</p>
      <p>The main programming language for the system is Perl. For the first processing
test a comma-separated values file manipulator module was used: Text::CSV 2, mainly
because it could be easily configured to open and process tab-separated files, which is
the format for the datasets provided by the track. This module converts the bytes to
UTF-8 character equivalents by default. This behavior is fine for display compatibility
on different operative systems and language configurations, but it was identifying the
abbreviations and definitions in different positions than the labeled data provided by the
organizers. This is an example from the labeled sample dataset:</p>
      <p>1741 es A 19 49 articulacio´n temporomandibular LONG</p>
      <sec id="sec-2-1">
        <title>2 https://metacpan.org/pod/Text::CSV</title>
        <p>When the system processed the same text, the followed result was obtained:
1741 es A 19 50 articulacio´n temporomandibular LONG</p>
        <p>Here, the last position is different due to the decoding of the accented vowel a´, an
extra byte is added to create a valid UTF-8 char sequence. This behavior is explained in
the module documentation. One can deactivate this option and the bytes (and therefore
the length of the string) will not change. The results obtained for the system matched
with the labeled sample data, but a different issue emerged, as is shown in the following
example:</p>
        <p>1741 es A 19 49 articulaci¡F3¿n temporomandibular LONG</p>
        <p>Here the string stored in the file is not displayed correctly. The module tries to
convert the bytes to a valid ASCII character to be printed. In this case it is not possible
to convert the UTF-8 byte, then is replaced with the symbol ¡F3¿. The solution was to
relay in the Unicode encoding/decoding methods provided by the language itself. Perl
has the capacity to handle Unicode natively (3). We discarded the use of the module
mentioned before and handle all the file parsing and processing with the native I/O file
methods, divided every record in the dataset into fields (id, language, title, abstract)
to obtain the text to be processed. After this adjustment, the results were displayed
properly:</p>
        <p>1741 es A 19 49 articulacio´n temporomandibular LONG</p>
        <p>Another encoding related issue we had to fix, were cases when a Long Form
contained vowels with accent in the candidate words. An example that illustrates this
problem is the case with the term DMO. The system extracted this term in the following
text:</p>
        <p>densidad mineral o´sea (DMO)</p>
        <p>The Long Form detection did not match the word o´sea. The fix was to convert the
vowel in their not accented equivalent before the evaluation.</p>
        <p>Once the mentioned issues were fixed, we could generate the entities and relations
predictions required by the track. To test the system performance we run an evaluation
with the sample dataset to compare the results with the other baselines used at the track.
We show the Entity and Relation Evaluation results compared in Table 1 and Table 2
respectively .</p>
        <sec id="sec-2-1-1">
          <title>Tool Precision Recall F-Measure</title>
          <p>Ab3P 78.20 39.87 52.81
ADRS 70.75 49.02 57.91
BADREX 72.50 37.91 49.78
Our System 83.67 53.59 65.33
Table 1 Results from Entity Evaluation</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>3 http://perldoc.perl.org/perluniintro.html</title>
        <sec id="sec-2-2-1">
          <title>Tool Precision Recall F-Measure</title>
          <p>Ab3P 71.79 34.14 46.28</p>
          <p>ADRS 62.26 40.24 48.89
BADREX 52.38 26.83 26.83
Our System 55.38 43.90 48.98</p>
          <p>Table 2 Results from Relation Evaluation</p>
          <p>Our system did not get good results for the Relation Evaluation, but it got best
results compared with the others in the Entity Evaluation. The results for the final
submission are presented in Table 3.</p>
        </sec>
        <sec id="sec-2-2-2">
          <title>Evaluation Precision Recall F-Score</title>
          <p>Entity 70.69 73.47 72.05
Relation 72.20 61.78 66.59
Table 3 Final Submission Results
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and future work</title>
      <p>In this paper we presented a rule based system for automatic detection and extraction
of abbreviations and their definitions. With the use of some pattern rules and regular
expressions and adapting a former proposed algorithm, we attained some results that
could be improved. Using Perl for text parsing provides a good performance. Using the
test dataset (20000 records) on a MacBook Pro (Retina, 13-inch, Late 2013) with a 2,4
GHz Intel Core i5 CPU and 8GB RAM, the estimated time to generate the entity
prediction file was 55s and for the relation prediction was 46s. One thing to notice is that our
system did not detect terms derived from Short Forms nor the Nested Relations, which
were one of the requirements for the predictions. This should be one of the possible
additions to improve the system.</p>
      <p>When working with Spanish text, it is important to take into account the encoding
of the files. It could be a critical issue if it is not handled correctly. We noticed that after
implementing this helped to improved our results.</p>
      <p>The system needs to be improved to detect Long Forms that could be at the right of
the abbreviation for example, given the following text:</p>
      <p>ATM (Las secuelas en la articulacio´n temporomandibular)</p>
      <p>In this case, and contrary to our assumption in handling documents, the detection
pattern is Short Form ( Long Form ). There is room to improvement or different
applications. Examples include using Machine Learning to classify abbreviations into different
tags in order to obtain the category of a document or as well another use case,
generating abbreviations (short form) from a candidate definition (long form) and validate it
using a dictionary.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Intxaurrondo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , Pe´rez-Pe´rez,
          <string-name>
            <given-names>M.</given-names>
            , Pe´rez-Rodr´ıguez, G.,
            <surname>Lopez-Martin</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          , Santamar´ıa, J., de la Pen˜a,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Villegas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Akhondi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Valencia</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          , Lourenc¸o,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Krallinger</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.:</surname>
          </string-name>
          <article-title>The biomedical abbreviation recognition and resolution (barr) track: benchmarking, evaluation and importance of abbreviation recognition systems applied to spanish biomedical abstracts</article-title>
          .
          <source>(SEPLN</source>
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Krallinger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Intxaurrondo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lopez-Martin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , de la Pe n˜a,
          <string-name>
            <surname>S.</surname>
          </string-name>
          , Pe´rez-Pe´rez,
          <string-name>
            <given-names>M.</given-names>
            , Pe´rezRodr´ıguez, G., Santamar´ıa, J.,
            <surname>Villegas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Akhondi</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          , Lourenc¸o,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Valencia</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Resources for the extraction of abbreviations and terms in spanish from medical abstracts: the barr corpus, lexical resources and document collection</article-title>
          .
          <source>(SEPLN</source>
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Manabu</given-names>
            <surname>Torii</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.z.H.</given-names>
            ,
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.H.</surname>
          </string-name>
          , Liu, H.:
          <article-title>A comparison study on algorithms of detecting long forms for short forms in biomedical text</article-title>
          .
          <source>BMC Bioinformatics</source>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Okazaki</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ananiadou</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>A term recognition approach to acronym recognition</article-title>
          .
          <source>Proceedings of the COLING/ACL 2006 Main Conference Poster</source>
          Sessions pp.
          <fpage>643</fpage>
          -
          <lpage>650</lpage>
          , (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Schwartz</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hearst</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A simple algorithm for identifying abbreviation definitions in biomedical text</article-title>
          . Pacific Symposium on Biocomputing pp.
          <fpage>451</fpage>
          -
          <lpage>462</lpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>