oxedyne/fe2o3/fe2o3_text/src/csl/case_words.rs
5.3 KiB, 1 run
created by r1870400018:73173, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // English word lists for title and sentence case, copied from hayagriva 0.10.1 `src/lang/en.rs`, |
| 2 | // Copyright (c) Martin Haug and the hayagriva contributors, MIT OR Apache-2.0. ALWAYS_CAPITALIZE is |
| 3 | // searched by bisection although "mexico" precedes "mexican"; the order is kept so that the |
| 4 | // same words are found as in Typst. |
| 5 | |
| 6 | pub const NEVER_CAPITALIZE: [&str; 50] = [ |
| 7 | "A", "Above", "Across", "Against", "Among", "An", "And", "Around", "As", "At", "Behind", "Below", |
| 8 | "Beneath", "Beside", "Between", "But", "By", "Down", "During", "For", "From", "Front", "In", |
| 9 | "Inside", "Into", "M", "N", "Near", "Nor", "Of", "On", "Onto", "Or", "Over", "S", "Since", "So", |
| 10 | "T", "The", "Till", "To", "Toward", "Under", "Underneath", "Until", "Up", "Via", "With", "Within", |
| 11 | "Yet", |
| 12 | ]; |
| 13 | |
| 14 | pub const ALWAYS_CAPITALIZE: [&str; 426] = [ |
| 15 | "ababa", "abidjan", "addis", "afghanistan", "africa", "african", "ahmedabad", "aires", "albania", |
| 16 | "alexandria", "algeria", "algiers", "america", "american", "amsterdam", "andorra", "angeles", |
| 17 | "angola", "antigua", "april", "arab", "arabia", "argentina", "armenia", "asia", "asian", "athens", |
| 18 | "atlanta", "august", "australia", "australian", "austria", "azerbaijan", "baghdad", "bahamas", |
| 19 | "bahrain", "bangalore", "bangkok", "bangladesh", "bangladeshi", "barbados", "barbuda", |
| 20 | "barcelona", "beijing", "belarus", "belgium", "belize", "belo", "benin", "berlin", "bernardino", |
| 21 | "bhutan", "birmingham", "bissau", "bogotá", "bolivia", "bonn", "bosnia", "boston", "botswana", |
| 22 | "brasília", "brazil", "brazilian", "british", "brunei", "brussels", "bucharest", "budapest", |
| 23 | "buenos", "bulgaria", "burkina faso", "burma", "burundi", "cabo verde", "cairo", "cambodia", |
| 24 | "cameroon", "canada", "casablanca", "chad", "chengdu", "chennai", "chi", "chicago", "chile", |
| 25 | "china", "chinese", "chongqing", "cologne", "colombia", "comoros", "congo", "congo-brazzaville", |
| 26 | "congolese", "copenhagen", "costa rica", "croatia", "cuba", "cyprus", "czech", "czechia", "côte", |
| 27 | "d'ivoire", "dakar", "dalian", "dallas", "dar", "december", "delhi", "denmark", "detroit", |
| 28 | "dhaka", "djibouti", "dominica", "dominican", "dongguan", "douala", "dr", "dublin", "durban", |
| 29 | "ecuador", "egypt", "egyptian", "el", "emirates", "england", "english", "equatorial", "eritrea", |
| 30 | "estonia", "eswatini", "ethiopia", "ethiopian", "europe", "european", "february", "fiji", |
| 31 | "filipino", "finland", "fortaleza", "foshan", "france", "francisco", "frankfurt", "french", |
| 32 | "friday", "fukuoka", "gabon", "gambia", "georgia", "german", "germany", "ghana", "greece", |
| 33 | "grenada", "grenadines", "guadalajara", "guangzhou", "guatemala", "guinea", "guinea", |
| 34 | "guinea-bissau", "guyana", "hague", "haiti", "hamburg", "hangzhou", "hanoi", "harbin", |
| 35 | "herzegovina", "ho", "holy", "honduras", "hong", "horizonte", "houston", "hungary", "hyderabad", |
| 36 | "i", "ibadan", "iceland", "india", "indian", "indonesia", "indonesian", "iran", "iranian", "iraq", |
| 37 | "ireland", "irish", "islands", "israel", "istanbul", "italian", "italy", "jakarta", "jamaica", |
| 38 | "janeiro", "january", "japan", "japanese", "jinan", "jinjiang", "johannesburg", "jordan", "july", |
| 39 | "june", "kano", "karachi", "kazakhstan", "kenya", "khartoum", "kiev", "kingdom", "kinshasa", |
| 40 | "kiribati", "kitts", "kobe", "kolkata", "kong", "korea", "kuala", "kuwait", "kyoto", "kyrgyzstan", |
| 41 | "lagos", "lahore", "lanka", "laos", "latvia", "lebanon", "leone", "lesotho", "liberia", "libya", |
| 42 | "liechtenstein", "lima", "lisbon", "lithuania", "london", "los", "luanda", "lucia", "lumpur", |
| 43 | "luxembourg", "lyon", "macedonia", "madagascar", "madrid", "malawi", "malaysia", "maldives", |
| 44 | "mali", "malta", "manchester", "manila", "march", "marino", "marseille", "mauritania", |
| 45 | "mauritius", "may", "medellín", "mexico", "mexican", "miami", "micronesia", "milan", "minh", |
| 46 | "mogadishu", "moldova", "monaco", "monday", "mongolia", "montenegro", "monterrey", "montreal", |
| 47 | "morocco", "moscow", "mozambique", "mr", "mrs", "mumbai", "munich", "myanmar", "nagoya", |
| 48 | "nairobi", "namibia", "nanjing", "naples", "nauru", "nepal", "netherlands", "nevis", "nicaragua", |
| 49 | "niger", "nigeria", "nigerian", "norway", "november", "oakland", "october", "oman", "osaka", |
| 50 | "ouagadougou", "pakistan", "pakistani", "palau", "palestine", "panama", "papua", "paraguay", |
| 51 | "paris", "paulo", "peru", "petersburg", "philadelphia", "philippines", "phoenix", "poland", |
| 52 | "porto alegre", "portugal", "prague", "pune", "qatar", "qingdao", "quanzhou", "recife", |
| 53 | "republic", "rio", "riverside", "riyadh", "romania", "rome", "rotterdam", "ruhr", "russia", |
| 54 | "russian", "rwanda", "saint", "salaam", "salvador", "samoa", "san", "santiago", "sao", "saturday", |
| 55 | "saudi", "seattle", "senegal", "seoul", "september", "serbia", "seychelles", "shanghai", |
| 56 | "shenyang", "shenzhen", "shishi", "sierra", "singapore", "slovakia", "slovenia", "sofia", |
| 57 | "solomon", "somalia", "spain", "sri", "states", "stockholm", "sudan", "sunday", "surat", |
| 58 | "suriname", "suzhou", "swaziland", "sweden", "switzerland", "syria", "são", "tajikistan", |
| 59 | "tanzania", "tanzanian", "tehran", "thai", "thailand", "thursday", "tianjin", "timor-leste", |
| 60 | "tobago", "togo", "tokyo", "tome", "tonga", "toronto", "trinidad", "tuesday", "tunisia", "turin", |
| 61 | "turkey", "turkish", "turkmenistan", "tuvalu", "uganda", "uk", "ukraine", "united", "uruguay", |
| 62 | "us", "usa", "uzbekistan", "vanuatu", "venezuela", "vienna", "vietnam", "vietnamese", "vincent", |
| 63 | "warsaw", "washington", "wednesday", "wuhan", "xi'an", "yangon", "yemen", "york", "zambia", |
| 64 | "zimbabwe", |
| 65 | ]; |
| 66 |