| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
|
|
| const COUNTRIES = [ |
| |
| |
| |
| 'afghanistan', 'albania', 'algeria', 'argentina', 'armenia', 'australia', |
| 'austria', 'azerbaijan', 'bahrain', 'bangladesh', 'belarus', 'belgium', |
| 'bolivia', 'bosnia', 'brazil', 'bulgaria', 'cambodia', 'cameroon', 'canada', |
| 'chile', 'china', 'colombia', 'congo', 'croatia', 'cuba', 'cyprus', 'czechia', |
| 'denmark', 'ecuador', 'egypt', 'eritrea', 'estonia', 'ethiopia', 'finland', |
| 'france', 'georgia', 'germany', 'ghana', 'greece', 'guatemala', 'haiti', |
| 'honduras', 'hungary', 'iceland', 'india', 'indonesia', 'iran', 'iraq', |
| 'ireland', 'israel', 'italy', 'japan', 'jordan', 'kazakhstan', 'kenya', |
| 'kuwait', 'kyrgyzstan', 'laos', 'latvia', 'lebanon', 'libya', 'lithuania', |
| 'luxembourg', 'malaysia', 'maldives', 'mali', 'malta', 'mexico', 'moldova', |
| 'mongolia', 'montenegro', 'morocco', 'mozambique', 'myanmar', 'nepal', |
| 'netherlands', 'nicaragua', 'niger', 'nigeria', 'norway', 'oman', 'pakistan', |
| 'panama', 'paraguay', 'peru', 'philippines', 'poland', 'portugal', 'qatar', |
| 'romania', 'russia', 'rwanda', 'serbia', 'singapore', 'slovakia', 'slovenia', |
| 'somalia', 'spain', 'sudan', 'sweden', 'switzerland', 'syria', 'taiwan', |
| 'tajikistan', 'tanzania', 'thailand', 'tunisia', 'turkey', 'turkmenistan', |
| 'uganda', 'ukraine', 'uruguay', 'uzbekistan', 'venezuela', 'vietnam', |
| 'yemen', 'zambia', 'zimbabwe', |
| |
| 'us', 'usa', 'uk', 'uae', 'drc', 'prc', 'rok', 'dprk', |
| ]; |
|
|
| const CITIES = [ |
| |
| |
| |
| 'washington', 'new york', 'los angeles', 'chicago', 'houston', 'miami', |
| 'atlanta', 'boston', 'seattle', 'philadelphia', 'detroit', 'dallas', |
| 'ottawa', 'toronto', 'montreal', 'vancouver', 'mexico city', 'havana', |
| |
| 'london', 'paris', 'berlin', 'brussels', 'amsterdam', 'rome', 'madrid', |
| 'lisbon', 'dublin', 'vienna', 'prague', 'warsaw', 'budapest', 'athens', |
| 'stockholm', 'copenhagen', 'oslo', 'helsinki', 'zurich', 'geneva', 'bern', |
| 'milan', 'naples', 'barcelona', 'munich', 'frankfurt', 'hamburg', |
| 'edinburgh', 'glasgow', 'manchester', 'belfast', |
| |
| 'moscow', 'st petersburg', 'kyiv', 'kiev', 'odesa', 'odessa', 'kharkiv', |
| 'lviv', 'mariupol', 'donetsk', 'luhansk', 'minsk', 'chisinau', 'tbilisi', |
| 'yerevan', 'baku', 'bucharest', 'sofia', 'belgrade', 'zagreb', 'sarajevo', |
| 'pristina', 'skopje', 'tirana', 'vilnius', 'riga', 'tallinn', |
| |
| 'tehran', 'baghdad', 'damascus', 'beirut', 'amman', 'riyadh', 'doha', |
| 'dubai', 'abu dhabi', 'kuwait city', 'muscat', 'manama', 'sanaa', 'aden', |
| 'jerusalem', 'tel aviv', 'gaza', 'ramallah', 'cairo', 'alexandria', |
| 'tripoli', 'benghazi', 'tunis', 'algiers', 'casablanca', 'rabat', |
| 'ankara', 'istanbul', 'izmir', |
| |
| 'lagos', 'abuja', 'accra', 'nairobi', 'addis ababa', 'khartoum', 'juba', |
| 'kampala', 'kigali', 'dakar', 'bamako', 'ouagadougou', 'niamey', |
| 'johannesburg', 'cape town', 'pretoria', 'harare', 'lusaka', 'maputo', |
| 'kinshasa', 'brazzaville', 'luanda', 'antananarivo', 'mogadishu', |
| |
| 'beijing', 'shanghai', 'hong kong', 'taipei', 'tokyo', 'osaka', 'kyoto', |
| 'seoul', 'pyongyang', 'delhi', 'new delhi', 'mumbai', 'kolkata', 'chennai', |
| 'bengaluru', 'hyderabad', 'islamabad', 'karachi', 'lahore', 'kabul', |
| 'dhaka', 'colombo', 'kathmandu', 'rangoon', 'yangon', 'naypyidaw', |
| 'bangkok', 'phnom penh', 'hanoi', 'ho chi minh city', 'saigon', |
| 'vientiane', 'kuala lumpur', 'jakarta', 'manila', 'singapore', |
| |
| 'canberra', 'sydney', 'melbourne', 'auckland', 'wellington', |
| |
| 'brasilia', 'rio de janeiro', 'sao paulo', 'buenos aires', 'santiago', |
| 'lima', 'bogota', 'caracas', 'quito', 'la paz', 'asuncion', 'montevideo', |
| ]; |
|
|
| const REGIONS = [ |
| |
| 'middle east', 'north africa', 'sub-saharan africa', 'horn of africa', |
| 'west bank', 'gaza strip', 'sinai', |
| 'balkans', 'caucasus', 'central asia', 'south asia', 'southeast asia', |
| 'east asia', 'latin america', 'caribbean', 'scandinavia', 'baltics', |
| 'eu', 'nato', 'asean', 'gulf', |
| |
| 'hormuz', 'strait of hormuz', 'bab el-mandeb', 'red sea', 'black sea', |
| 'south china sea', 'east china sea', 'baltic sea', 'mediterranean', |
| 'persian gulf', 'arabian gulf', 'gulf of aden', 'gulf of oman', |
| 'taiwan strait', 'english channel', |
| |
| 'donbas', 'donbass', 'crimea', 'kashmir', 'tibet', 'xinjiang', |
| 'nagorno-karabakh', 'transnistria', |
| ]; |
|
|
| |
| |
| |
| |
| |
| export const LOCATION_GAZETTEER = new Set([ |
| ...CITIES, |
| ...REGIONS, |
| ]); |
|
|
| export const COUNTRY_NAMES = new Set(COUNTRIES); |
|
|
| |
| |
| |
|
|
| export const COMMON_CAPITALIZED = new Set([ |
| |
| 'the', 'a', 'an', 'this', 'that', 'these', 'those', 'some', 'any', |
| 'all', 'every', 'each', 'no', 'none', 'other', 'another', |
| 'i', 'you', 'he', 'she', 'it', 'we', 'they', 'my', 'your', 'his', |
| 'her', 'its', 'our', 'their', |
| |
| 'in', 'on', 'at', 'by', 'to', 'for', 'of', 'with', 'from', 'up', |
| 'down', 'out', 'into', 'onto', 'over', 'under', 'after', 'before', |
| 'during', 'since', 'until', 'as', 'than', 'then', 'so', 'but', 'and', |
| 'or', 'nor', 'yet', 'if', 'because', 'while', 'when', 'where', |
| 'why', 'how', 'who', 'what', 'which', 'whose', |
| |
| 'breaking', 'report', 'reports', 'new', 'latest', 'today', 'yesterday', |
| 'now', 'live', 'updates', 'update', 'analysis', 'opinion', 'exclusive', |
| 'video', 'watch', 'listen', 'read', |
| |
| 'is', 'are', 'was', 'were', 'be', 'been', 'being', 'have', 'has', |
| 'had', 'do', 'does', 'did', 'can', 'could', 'will', 'would', 'shall', |
| 'should', 'may', 'might', 'must', |
| ]); |
|
|