# Copyright 2002-2008 Josh Clark and Global Moxie, LLC. This code cannot be
# redistributed without permission from globalmoxie.com.  For more
# information, consult your Big Medium license.
#
# $Id: ES.pm 3043 2008-03-31 14:00:38Z josh $

package BigMed::Search::Stopwords::ES;
use strict;
use warnings;
use utf8;

my @STOPWORDS = (
    "de",                  "la",
    "que",                 "el",
    "en",                  "y",
    "a",                   "los",
    "del",                 "se",
    "las",                 "por",
    "un",                  "para",
    "con",                 "no",
    "una",                 "su",
    "al",                  "lo",
    "como",                "m\xc3\xa1s",
    "pero",                "sus",
    "le",                  "ya",
    "o",                   "este",
    "s\xc3\xad",           "porque",
    "esta",                "entre",
    "cuando",              "muy",
    "sin",                 "sobre",
    "tambi\xc3\xa9n",      "me",
    "hasta",               "hay",
    "donde",               "quien",
    "desde",               "todo",
    "nos",                 "durante",
    "todos",               "uno",
    "les",                 "ni",
    "contra",              "otros",
    "ese",                 "eso",
    "ante",                "ellos",
    "e",                   "esto",
    "m\xc3\xad",           "antes",
    "algunos",             "qu\xc3\xa9",
    "unos",                "yo",
    "otro",                "otras",
    "otra",                "\xc3\xa9l",
    "tanto",               "esa",
    "estos",               "mucho",
    "quienes",             "nada",
    "muchos",              "cual",
    "poco",                "ella",
    "estar",               "estas",
    "algunas",             "algo",
    "nosotros",            "mi",
    "mis",                 "t\xc3\xba",
    "te",                  "ti",
    "tu",                  "tus",
    "ellas",               "nosotras",
    "vosostros",           "vosostras",
    "os",                  "m\xc3\xado",
    "m\xc3\xada",          "m\xc3\xados",
    "m\xc3\xadas",         "tuyo",
    "tuya",                "tuyos",
    "tuyas",               "suyo",
    "suya",                "suyos",
    "suyas",               "nuestro",
    "nuestra",             "nuestros",
    "nuestras",            "vuestro",
    "vuestra",             "vuestros",
    "vuestras",            "esos",
    "esas",                "estoy",
    "est\xc3\xa1s",        "est\xc3\xa1",
    "estamos",             "est\xc3\xa1is",
    "est\xc3\xa1n",        "est\xc3\xa9",
    "est\xc3\xa9s",        "estemos",
    "est\xc3\xa9is",       "est\xc3\xa9n",
    "estar\xc3\xa9",       "estar\xc3\xa1s",
    "estar\xc3\xa1",       "estaremos",
    "estar\xc3\xa9is",     "estar\xc3\xa1n",
    "estar\xc3\xada",      "estar\xc3\xadas",
    "estar\xc3\xadamos",   "estar\xc3\xadais",
    "estar\xc3\xadan",     "estaba",
    "estabas",             "est\xc3\xa1bamos",
    "estabais",            "estaban",
    "estuve",              "estuviste",
    "estuvo",              "estuvimos",
    "estuvisteis",         "estuvieron",
    "estuviera",           "estuvieras",
    "estuvi\xc3\xa9ramos", "estuvierais",
    "estuvieran",          "estuviese",
    "estuvieses",          "estuvi\xc3\xa9semos",
    "estuvieseis",         "estuviesen",
    "estando",             "estado",
    "estada",              "estados",
    "estadas",             "estad",
    "he",                  "has",
    "ha",                  "hemos",
    "hab\xc3\xa9is",       "han",
    "haya",                "hayas",
    "hayamos",             "hay\xc3\xa1is",
    "hayan",               "habr\xc3\xa9",
    "habr\xc3\xa1s",       "habr\xc3\xa1",
    "habremos",            "habr\xc3\xa9is",
    "habr\xc3\xa1n",       "habr\xc3\xada",
    "habr\xc3\xadas",      "habr\xc3\xadamos",
    "habr\xc3\xadais",     "habr\xc3\xadan",
    "hab\xc3\xada",        "hab\xc3\xadas",
    "hab\xc3\xadamos",     "hab\xc3\xadais",
    "hab\xc3\xadan",       "hube",
    "hubiste",             "hubo",
    "hubimos",             "hubisteis",
    "hubieron",            "hubiera",
    "hubieras",            "hubi\xc3\xa9ramos",
    "hubierais",           "hubieran",
    "hubiese",             "hubieses",
    "hubi\xc3\xa9semos",   "hubieseis",
    "hubiesen",            "habiendo",
    "habido",              "habida",
    "habidos",             "habidas",
    "soy",                 "eres",
    "es",                  "somos",
    "sois",                "son",
    "sea",                 "seas",
    "seamos",              "se\xc3\xa1is",
    "sean",                "ser\xc3\xa9",
    "ser\xc3\xa1s",        "ser\xc3\xa1",
    "seremos",             "ser\xc3\xa9is",
    "ser\xc3\xa1n",        "ser\xc3\xada",
    "ser\xc3\xadas",       "ser\xc3\xadamos",
    "ser\xc3\xadais",      "ser\xc3\xadan",
    "era",                 "eras",
    "\xc3\xa9ramos",       "erais",
    "eran",                "fui",
    "fuiste",              "fue",
    "fuimos",              "fuisteis",
    "fueron",              "fuera",
    "fueras",              "fu\xc3\xa9ramos",
    "fuerais",             "fueran",
    "fuese",               "fueses",
    "fu\xc3\xa9semos",     "fueseis",
    "fuesen",              "sintiendo",
    "sentido",             "sentida",
    "sentidos",            "sentidas",
    "siente",              "sentid",
    "tengo",               "tienes",
    "tiene",               "tenemos",
    "ten\xc3\xa9is",       "tienen",
    "tenga",               "tengas",
    "tengamos",            "teng\xc3\xa1is",
    "tengan",              "tendr\xc3\xa9",
    "tendr\xc3\xa1s",      "tendr\xc3\xa1",
    "tendremos",           "tendr\xc3\xa9is",
    "tendr\xc3\xa1n",      "tendr\xc3\xada",
    "tendr\xc3\xadas",     "tendr\xc3\xadamos",
    "tendr\xc3\xadais",    "tendr\xc3\xadan",
    "ten\xc3\xada",        "ten\xc3\xadas",
    "ten\xc3\xadamos",     "ten\xc3\xadais",
    "ten\xc3\xadan",       "tuve",
    "tuviste",             "tuvo",
    "tuvimos",             "tuvisteis",
    "tuvieron",            "tuviera",
    "tuvieras",            "tuvi\xc3\xa9ramos",
    "tuvierais",           "tuvieran",
    "tuviese",             "tuvieses",
    "tuvi\xc3\xa9semos",   "tuvieseis",
    "tuviesen",            "teniendo",
    "tenido",              "tenida",
    "tenidos",             "tenidas",
    "tened"
);

#mark utf8 entries as such
if ( $] > 5.007 ) {
    local $SIG{'__DIE__'}; #custom SIG causes trouble loading Encode
    require Encode;
    foreach my $w (@STOPWORDS) {
        $w = Encode::decode('utf8', $w);
    }
}

my %STOPWORDS;
@STOPWORDS{@STOPWORDS} = (1) x @STOPWORDS;
sub hashref { return {%STOPWORDS} }

1;
__END__


=head1 NAME

BigMed::Search::Stopwords::ES - Spanish stopword support

=head1 DESCRIPTION

This module is used internally by BigMed::Search::Stopwords.

=head1 AUTHOR & COPYRIGHTS

This module and all Big Medium modules are copyright Josh Clark
and Global Moxie. All rights reserved.

Use of this module and the Big Medium content
management system are governed by Global Moxie's software licenses
and may not be used outside of the terms and conditions outlined
there.

For more information, visit the Global Moxie website at
L<http://globalmoxie.com/>.

Big Medium and Global Moxie are service marks of Global Moxie
and Josh Clark. All rights reserved.

=cut

