This commit is contained in:
rolux 2011-10-11 16:17:34 +02:00
parent cc2d516102
commit 0bd59742e7

View file

@ -37,26 +37,6 @@ _noarticles = (
'i was', 'i was',
) )
ARTICLES = list(set([
# def sg, def pl, indef sg, indef pl. all m/f/n
'der', 'die', 'das', 'ein', 'eine', # de
'the', 'a', 'an', # en
'el', 'la', 'lo', 'los', 'las', 'un', 'una', 'unos', 'unas', # es
'le', "l'", 'la', 'les', 'un', 'une', 'des', # fr
'il', 'lo', "l'" 'la', 'i', 'gli', 'le', # it
'de', 'het', 'een', # nl
'o', 'a', 'os', '_as', 'um', 'uma', '_uns', 'umas' # pt
]))
NAME_PREFIXES = [
'al', 'da', 'de', 'del', 'dem', 'den', 'der', 'di', 'du',
'e', 'el', 'la', 'the', 'van', 'vom', 'von', 'y', 'zu'
]
NAME_MIDFIXES = ['und']
NAME_SUFFIXES = ['jr', 'jr.', 'sr', 'sr.']
def get_sort_title():
def canonicalTitle(title): def canonicalTitle(title):
"""Return the title in the canonic format 'Movie Title, The'. """Return the title in the canonic format 'Movie Title, The'.