Created
June 16, 2017 08:44
-
-
Save emre/f79e2c1c75867a6679563f5a0c865578 to your computer and use it in GitHub Desktop.
room category logic.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
category_tuples = [ | |
CategoryTuple(priority=7, | |
name='Villa', | |
excluded=['dorm', 'bunk', 'shared', 'dormitory', 'bunkbed', | |
'bunk bed', 'shared facility'], | |
included=['villa']), | |
CategoryTuple(priority=6, | |
name='Apartment', | |
excluded=['dorm', 'bunk', 'shared', 'villa', 'dormitory', | |
'bunkbed', 'bunk bed', 'shared facility'], | |
included=['apart', 'apartment']), | |
CategoryTuple(priority=5, | |
name='Suite', | |
excluded=['dorm', 'bunk', 'shared', | |
'apart', 'villa', 'junior', 'dormitory', | |
'bunkbed', 'bunk bed', 'shared facility'], | |
included=['suite', 'skyloft', 'penthouse']), | |
CategoryTuple(priority=4, | |
name='Junior Suite', | |
excluded=['dorm', 'bunk', 'shared', 'apart', 'villa', | |
'dormitory', 'bunkbed', 'bunk bed' | |
'shared facility'], | |
included=['suite', 'skyloft', 'penthouse', 'junior']), | |
CategoryTuple(priority=3, | |
name='Deluxe', | |
excluded=['suite', 'apart', 'villa', 'dorm', 'bunk', | |
'bungalow', 'suite', 'skyloft', 'penthouse', | |
'shared', 'dormitory', 'bunkbed', 'bunk bed', | |
'shared facility'], | |
included=['deluxe', 'executive', 'exclusive', 'luxury', | |
'premier', 'premiere', 'premium', 'de luxe', | |
'dlx', 'prestige']), | |
CategoryTuple(priority=2, | |
name='Superior', | |
excluded=['suite', 'apart', 'villa', 'dorm', 'bunk', | |
'penthouse', 'deluxe', 'executive', 'exclusive', | |
'luxury', 'premier', 'premiere', 'premium', | |
'de luxe', 'dlx', 'prestige', 'shared', | |
'dormitory', 'bunkbed', 'bunk bed', | |
'shared facility'], | |
included=['superior']), | |
CategoryTuple(priority=1, | |
name='Shared Facility', | |
excluded=['superior', 'deluxe', 'executive', 'exclusive', | |
'suite', 'skyloft', 'penthouse', 'junior', 'villa', | |
'apart', 'apartment', 'luxury', 'premier', | |
'premiere', 'premium', 'de luxe', 'dlx', | |
'prestige'], | |
included=['dorm', 'bunk', 'dormitory', 'bunkbed', 'bunk bed', | |
'shared', 'shared facility']), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment