File: conjunctions.py

package info (click to toggle)
python-nameparser 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: python: 4,221; makefile: 7; sh: 1
file content (18 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

CONJUNCTIONS = set([
    '&',
    'and',
    'et',
    'e',
    'of',
    'the',
    'und',
    'y',
])
"""
Pieces that should join to their neighboring pieces, e.g. "and", "y" and "&".
"of" and "the" are also include to facilitate joining multiple titles,
e.g. "President of the United States".
"""