Skip to content

Commit

Permalink
Updating to version 1.02.
Browse files Browse the repository at this point in the history
  • Loading branch information
HoldOffHunger committed Jun 17, 2020
1 parent 4d63218 commit d5aadd5
Show file tree
Hide file tree
Showing 28 changed files with 1,328 additions and 20 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.02] - 2020-06-07 (UNRELEASED)
## [1.02] - 2020-06-16

- Improved README.md.
* Added use case list.
Expand All @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Added various, archaic spellings of dash word alternates (i.e., Now-a-days/Nowadays).
* Added various, archaic spellings of various ethnicities (i.e., mordvins/mordovians, serbians/servians).
* Added "-fold" number word archaic alternates (i.e., hundred-fold/hundredfold).
* Removed and consolidated 3 duplicates.

## [1.01] - 2019-08-19
- Improved README.md.
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ _How many words are covered?_
* Source: VarCon/ISpell (18,000 words).
* Source: WordsWorldWide (8,000 words).
* Source: Our own personal list.
* BtA List: Literary and archaic British variants (1500's to 1900's): (~500 words).
* BtA List: Alternative Latinized spellings of Russian and French names: (~1,500 words).
* BtA List: Alternative dashed-form words ("hundredfold" versus "hundred-fold"): (~2,000 words).
* These lists were used to cross-check each other, correct errors, and remove duplicates.
* Letter-sorted lists for easily updating and checking on words: [A](./classes/Language/Words/AmericanBritish/AmericanBritishWords_A.php) (1,287 words), [B](./classes/Language/Words/AmericanBritish/AmericanBritishWords_B.php) (566 words), [C](./classes/Language/Words/AmericanBritish/AmericanBritishWords_C.php) (1,766 words), [D](./classes/Language/Words/AmericanBritish/AmericanBritishWords_D.php) (1,396 words), [E](./classes/Language/Words/AmericanBritish/AmericanBritishWords_E.php) (943 words), [F](./classes/Language/Words/AmericanBritish/AmericanBritishWords_F.php) (661 words), [G](./classes/Language/Words/AmericanBritish/AmericanBritishWords_G.php) (605 words), [H](./classes/Language/Words/AmericanBritish/AmericanBritishWords_H.php) (1,066 words), [I](./classes/Language/Words/AmericanBritish/AmericanBritishWords_I.php) (578 words), [J](./classes/Language/Words/AmericanBritish/AmericanBritishWords_J.php) (149 words), [K](./classes/Language/Words/AmericanBritish/AmericanBritishWords_K.php) (122 words), [L](./classes/Language/Words/AmericanBritish/AmericanBritishWords_L.php) (586 words), [M](./classes/Language/Words/AmericanBritish/AmericanBritishWords_M.php) (1,250 words), [N](./classes/Language/Words/AmericanBritish/AmericanBritishWords_N.php) (716 words), [O](./classes/Language/Words/AmericanBritish/AmericanBritishWords_O.php) (517 words), [P](./classes/Language/Words/AmericanBritish/AmericanBritishWords_P.php) (2,212 words), [Q](./classes/Language/Words/AmericanBritish/AmericanBritishWords_Q.php) (57 words), [R](./classes/Language/Words/AmericanBritish/AmericanBritishWords_R.php) (1,036 words), [S](./classes/Language/Words/AmericanBritish/AmericanBritishWords_S.php) (1,874 words), [T](./classes/Language/Words/AmericanBritish/AmericanBritishWords_T.php) (746 words), [U](./classes/Language/Words/AmericanBritish/AmericanBritishWords_U.php) (1,241 words), [V](./classes/Language/Words/AmericanBritish/AmericanBritishWords_V.php) (421 words), [W](./classes/Language/Words/AmericanBritish/AmericanBritishWords_W.php) (177 words), [X](./classes/Language/Words/AmericanBritish/AmericanBritishWords_X.php) (0 words), [Y](./classes/Language/Words/AmericanBritish/AmericanBritishWords_Y.php) (22 words), [z](./classes/Language/Words/AmericanBritish/AmericanBritishWords_Z.php) (25 words).
* Letter-sorted lists for easily updating and checking on words: [A](./lib/Words/AmericanBritish/AmericanBritishWords_A.php) (1314 words), [B](./lib/Words/AmericanBritish/AmericanBritishWords_B.php) (687 words), [C](./lib/Words/AmericanBritishWords_C.php) (1,807 words), [D](./lib/Words/AmericanBritish/AmericanBritishWords_D.php) (1,427 words), [E](./lib/Words/AmericanBritish/AmericanBritishWords_E.php) (948 words), [F](./lib/Words/AmericanBritish/AmericanBritishWords_F.php) (678 words), [G](./lib/Words/AmericanBritish/AmericanBritishWords_G.php) (654 words), [H](./lib/Words/AmericanBritish/AmericanBritishWords_H.php) (1,066 words), [I](./lib/Words/AmericanBritish/AmericanBritishWords_I.php) (590 words), [J](./lib/Words/AmericanBritish/AmericanBritishWords_J.php) (149 words), [K](./lib/Words/AmericanBritish/AmericanBritishWords_K.php) (264 words), [L](./lib/Words/AmericanBritish/AmericanBritishWords_L.php) (641 words), [M](./lib/Words/AmericanBritish/AmericanBritishWords_M.php) (1,312 words), [N](./lib/Words/AmericanBritish/AmericanBritishWords_N.php) (716 words), [O](./lib/Words/AmericanBritish/AmericanBritishWords_O.php) (532 words), [P](./lib/Words/AmericanBritish/AmericanBritishWords_P.php) (2,273 words), [Q](./lib/Words/AmericanBritish/AmericanBritishWords_Q.php) (57 words), [R](./lib/Words/AmericanBritish/AmericanBritishWords_R.php) (1,071 words), [S](./lib/Words/AmericanBritish/AmericanBritishWords_S.php) (2,024 words), [T](./lib/Words/AmericanBritish/AmericanBritishWords_T.php) (800 words), [U](./lib/Words/AmericanBritish/AmericanBritishWords_U.php) (1,259 words), [V](./lib/Words/AmericanBritish/AmericanBritishWords_V.php) (450 words), [W](./lib/Words/AmericanBritish/AmericanBritishWords_W.php) (177 words), [X](./lib/Words/AmericanBritish/AmericanBritishWords_X.php) (0 words), [Y](./lib/Words/AmericanBritish/AmericanBritishWords_Y.php) (75 words), [z](./lib/Words/AmericanBritish/AmericanBritishWords_Z.php) (63 words).
* Variants for British words.
* For example, "unrealisable" and "unrealiseable".
* Words are defined with simple associative array, making for a quick transfer to Perl, C++, Java, etc..
Expand Down
75 changes: 75 additions & 0 deletions lib/Words/AmericanBritish/AmericanBritishWords_A.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
中文汉字漢字
*/

/*
This file is from the HoldOffHunger/convert-british-to-american-spellings open-source project.
Author: HoldOffHunger
License: BSD 3-Clause
URL: https://github.com/HoldOffHunger/convert-british-to-american-spellings
*/

/* AmericanBritishWords_A
Expand Down Expand Up @@ -33,6 +43,8 @@ public function __construct($args) {

public function AmericanBritishWords() {
return [
'abakumov'=>['abakumov', 'abakumoff',],
'abdulovov'=>['abdulovov', 'abdulovoff',],
'abettor\'s'=>'abetter\'s',
'abettor'=>'abetter',
'abettors'=>'abetters',
Expand All @@ -42,6 +54,7 @@ public function AmericanBritishWords() {
'abolitionize'=>'abolitionise',
'abolitionized'=>'abolitionised',
'abolitionizing'=>'abolitionising',
'abramovov'=>['abramovov', 'abramovoff',],
'abridgable'=>'abridgeable',
'abridgment\'s'=>'abridgement\'s',
'abridgment'=>'abridgement',
Expand Down Expand Up @@ -129,6 +142,8 @@ public function AmericanBritishWords() {
'actualizes'=>'actualises',
'actualizing'=>'actualising',
'acuesthesia'=>'acuaesthesia',
'adaptation'=>['adaptation', 'adaption',],
'adaptations'=>['adaptations', 'adaptions',],
'adapter\'s'=>'adaptor\'s',
'adapter'=>'adaptor',
'adapters'=>'adaptors',
Expand Down Expand Up @@ -215,7 +230,9 @@ public function AmericanBritishWords() {
'aestheticizes'=>'aestheticises',
'aestheticizing'=>'aestheticising',
'aesthetics'=>'esthetics',
'afanasyevev'=>['afanasyevev', 'afanasyeveff',],
'affeer'=>'affere',
'aforementioned'=>['aforementioned', 'afore-mentioned',],
'Africanization\'s'=>'Africanisation\'s',
'Africanization'=>'Africanisation',
'Africanizations'=>'Africanisations',
Expand All @@ -232,6 +249,8 @@ public function AmericanBritishWords() {
'aftereffects'=>'after-effects',
'afterwards'=>'afterward',
'afterworld'=>'after-world',
'agafonovov'=>['agafonovov', 'agafonovoff',],
'agapovov'=>['agapovov', 'agapovoff',],
'agathodemon'=>'agathodaemon',
'agatize'=>'agatise',
'agatizes'=>'agatises',
Expand Down Expand Up @@ -299,8 +318,13 @@ public function AmericanBritishWords() {
'airstrike'=>'air strike',
'airstrikes'=>'air strikes',
'aker'=>'akre',
'akinfeevev'=>['akinfeevev', 'akinfeeveff',],
'aksakov'=>['aksakov', 'aksakoff',],
'aksakovov'=>['aksakovov', 'aksakovoff',],
'aksyonovov'=>['aksyonovov', 'aksyonovoff',],
'Aktistete\'s'=>'Aktistetae\'s',
'Aktistete'=>'Aktistetae',
'akulovov'=>['akulovov', 'akulovoff',],
'albitize'=>'albitise',
'albitized'=>'albitised',
'albitizes'=>'albitises',
Expand Down Expand Up @@ -335,6 +359,10 @@ public function AmericanBritishWords() {
'aleukemic'=>'aleukaemic',
'Aleus\'s'=>'Aloeus\'s',
'Aleus'=>'Aloeus',
'alexandrov'=>['alexandrov', 'alexandroff',],
'alexandrovov'=>['alexandrovov', 'alexandrovoff',],
'alexeyevev'=>['alexeyevev', 'alexeyeveff',],
'aleyevev'=>['aleyevev', 'aleyeveff',],
'algebraization\'s'=>'algebraisation\'s',
'algebraization'=>'algebraisation',
'algebraizations'=>'algebraisations',
Expand All @@ -350,6 +378,8 @@ public function AmericanBritishWords() {
'alignment'=>'alinement',
'alignments'=>'alinements',
'aligns'=>'alines',
'alistratovov'=>['alistratovov', 'alistratovoff',],
'aliyevev'=>['aliyevev', 'aliyeveff',],
'alkalinization\'s'=>'alkalinisation\'s',
'alkalinization'=>'alkalinisation',
'alkalinizations'=>'alkalinisations',
Expand Down Expand Up @@ -382,6 +412,7 @@ public function AmericanBritishWords() {
'alleluia'=>'halleluiah',
'alleluias'=>'halleluiahs',
'allied powers'=>['allied powers', 'allied-powers',],
'alliluyevev'=>['alliluyevev', 'alliluyeveff',],
'alloxuremia'=>'alloxuraemia',
'almanac'=>'almanack',
'almanacs'=>'almanacks',
Expand Down Expand Up @@ -419,6 +450,7 @@ public function AmericanBritishWords() {
'amalgamizations'=>'amalgamisations',
'amalgamize'=>'amalgamise',
'amalgamizes'=>'amalgamises',
'amaliyevev'=>['amaliyevev', 'amaliyeveff',],
'Amalthea\'s'=>'Amalthaea\'s',
'Amalthea'=>'Amalthaea',
'ambiance\'s'=>'ambience\'s',
Expand Down Expand Up @@ -467,6 +499,7 @@ public function AmericanBritishWords() {
'Americanizes'=>'Americanises',
'Americanizing'=>'Americanising',
'amid'=>'amidst',
'aminevev'=>['aminevev', 'amineveff',],
'ammocete\'s'=>'ammocoete\'s',
'ammocete'=>'ammocoete',
'ammocetes'=>'ammocoetes',
Expand Down Expand Up @@ -516,6 +549,7 @@ public function AmericanBritishWords() {
'ampule\'s'=>['ampoule\'s', 'ampul\'s',],
'ampule'=>['ampoule', 'ampul',],
'ampules'=>['ampoules', 'ampuls',],
'amu darya'=>['amu darya', 'amu-daria', 'amu daria', 'amu-darya'],
'amygdale'=>'amygdalae',
'amyxorrhea'=>'amyxorrhoea',
'anabaptize'=>'anabaptise',
Expand Down Expand Up @@ -553,6 +587,7 @@ public function AmericanBritishWords() {
'analyzers'=>'analysers',
'analyzes'=>'analyses',
'analyzing'=>'analysing',
'ananyevev'=>['ananyevev', 'ananyeveff',],
'anapest'=>'anapaest',
'anapestic'=>'anapaestic',
'anapestically'=>'anapaestically',
Expand Down Expand Up @@ -583,7 +618,11 @@ public function AmericanBritishWords() {
'anatomizing'=>'anatomising',
'Anchinoe\'s'=>'Anchinoae\'s',
'Anchinoe'=>'Anchinoae',
'ancient'=>['ancient', 'antient',],
'ancille'=>'ancillae',
'andreyevev'=>['andreyevev', 'andreyeveff',],
'andronikovov'=>['andronikovov', 'andronikovoff',],
'andropovov'=>['andropovov', 'andropovoff',],
'anematosis'=>'anaematosis',
'anemia\'s'=>'anaemia\'s',
'anemia'=>'anaemia',
Expand Down Expand Up @@ -679,6 +718,7 @@ public function AmericanBritishWords() {
'anhydridizations'=>'anhydridisations',
'anhydridize'=>'anhydridise',
'anhydridizes'=>'anhydridises',
'anikanovov'=>['anikanovov', 'anikanovoff',],
'animalization\'s'=>'animalisation\'s',
'animalization'=>'animalisation',
'animalizations'=>'animalisations',
Expand All @@ -687,11 +727,15 @@ public function AmericanBritishWords() {
'animalizes'=>'animalises',
'animalizing'=>'animalising',
'animized'=>'animised',
'anisimovov'=>['anisimovov', 'anisimovoff',],
'ankudinovov'=>['ankudinovov', 'ankudinovoff',],
'annalize'=>'annalise',
'annalized'=>'annalised',
'annalizes'=>'annalises',
'annalizing'=>'annalising',
'annenkovov'=>['annenkovov', 'annenkovoff',],
'annex'=>'annexe',
'annikovov'=>['annikovov', 'annikovoff',],
'annualization'=>'annualisation',
'annualize'=>'annualise',
'annualized'=>'annualised',
Expand All @@ -710,6 +754,7 @@ public function AmericanBritishWords() {
'anonymizing'=>'anonymising',
'Anora\'s'=>'Anoura\'s',
'Anora'=>'Anoura',
'anosovov'=>['anosovov', 'anosovoff',],
'anoxemia\'s'=>'anoxaemia\'s',
'anoxemia'=>'anoxaemia',
'anoxemic'=>'anoxaemic',
Expand All @@ -724,6 +769,7 @@ public function AmericanBritishWords() {
'antagonizers'=>'antagonisers',
'antagonizes'=>'antagonises',
'antagonizing'=>'antagonising',
'antakovov'=>['antakovov', 'antakovoff',],
'anthecological'=>'anthoecological',
'anthecologist'=>'anthoecologist',
'anthecology'=>'anthoecology',
Expand Down Expand Up @@ -776,6 +822,7 @@ public function AmericanBritishWords() {
'antioxidizings'=>'antioxidisings',
'antipathize'=>'antipathise',
'antipathizes'=>'antipathises',
'antipovov'=>['antipovov', 'antipovoff',],
'antiquarianize'=>'antiquarianise',
'antiquarianizes'=>'antiquarianises',
'antirumor\'s'=>'antirumour\'s',
Expand All @@ -797,8 +844,10 @@ public function AmericanBritishWords() {
'antisiphons'=>'antisyphons',
'antithesize'=>'antithesise',
'antithesizes'=>'antithesises',
'antonovov'=>['antonovov', 'antonovoff',],
'anviled'=>'anvilled',
'anviling'=>'anvilling',
'apalkovov'=>['apalkovov', 'apalkovoff',],
'apesthesia'=>'apaesthesia',
'apesthetic'=>'apaesthetic',
'aphereses'=>'aphaereses',
Expand Down Expand Up @@ -981,9 +1030,11 @@ public function AmericanBritishWords() {
'Arctogean'=>'Arctogaean',
'Arctogeic\'s'=>'Arctogaeic\'s',
'Arctogeic'=>'Arctogaeic',
'ardatov'=>['ardatov', 'ardatoff',],
'ardor\'s'=>'ardour\'s',
'ardor'=>'ardour',
'ardors'=>'ardours',
'arefyevev'=>['arefyevev', 'arefyeveff',],
'arenicolor'=>'arenicolour',
'areole'=>'areolae',
'areometric'=>'araeometric',
Expand All @@ -1002,13 +1053,16 @@ public function AmericanBritishWords() {
'Arimathea'=>'Arimathaea',
'Arimathean\'s'=>'Arimathaean\'s',
'Arimathean'=>'Arimathaean',
'aristarkhovov'=>['aristarkhovov', 'aristarkhovoff',],
'ariste'=>'aristae',
'aristovov'=>['aristovov', 'aristovoff',],
'arithmetization\'s'=>'arithmetisation\'s',
'arithmetization'=>'arithmetisation',
'arithmetizations'=>'arithmetisations',
'arithmetize'=>'arithmetise',
'arithmetized'=>'arithmetised',
'arithmetizes'=>'arithmetises',
'armor plate'=>['armor plate', 'armor-plate',],
'armor\'s'=>'armour\'s',
'armor'=>'armour',
'armorbearer\'s'=>'armourbearer\'s',
Expand Down Expand Up @@ -1041,8 +1095,12 @@ public function AmericanBritishWords() {
'aromatizing'=>'aromatising',
'arsenicize'=>'arsenicise',
'arsenicizes'=>'arsenicises',
'arsenyev'=>['arsenyev', 'arsenyeff',],
'arsenyevev'=>['arsenyevev', 'arsenyeveff',],
'Arsinoe\'s'=>'Arsinoae\'s',
'Arsinoe'=>'Arsinoae',
'artamonovov'=>['artamonovov', 'artamonovoff',],
'artemyevev'=>['artemyevev', 'artemyeveff',],
'arterialization\'s'=>'arterialisation\'s',
'arterialization'=>'arterialisation',
'arterializations'=>'arterialisations',
Expand All @@ -1059,6 +1117,7 @@ public function AmericanBritishWords() {
'artificialized'=>'artificialised',
'artificializes'=>'artificialises',
'artificializing'=>'artificialising',
'artyomovov'=>['artyomovov', 'artyomovoff',],
'Aryanization'=>'Aryanisation',
'Aryanize'=>'Aryanise',
'Aryanized\'s'=>'Aryanised\'s',
Expand All @@ -1068,6 +1127,7 @@ public function AmericanBritishWords() {
'Aryanizing'=>'Aryanising',
'arytenoid'=>'arytaenoid',
'arytenoids'=>'arytaenoids',
'arzamastsevev'=>['arzamastsevev', 'arzamastseveff',],
'asafetida\'s'=>'asafoetida\'s',
'asafetida'=>'asafoetida',
'asafetidas'=>'asafoetidas',
Expand Down Expand Up @@ -1099,12 +1159,17 @@ public function AmericanBritishWords() {
'Asiaticize\'s'=>'Asiaticise\'s',
'Asiaticize'=>'Asiaticise',
'Asiaticizes'=>'Asiaticises',
'asimov'=>['asimov', 'asimoff',],
'aslakhanovov'=>['aslakhanovov', 'aslakhanovoff',],
'aslanovov'=>['aslanovov', 'aslanovoff',],
'Asmonean\'s'=>'Asmonaean\'s',
'Asmonean'=>'Asmonaean',
'asphalt'=>['asphalt', 'asphalte',],
'aspheterize'=>'aspheterise',
'aspheterized'=>'aspheterised',
'aspheterizes'=>'aspheterises',
'aspheterizing'=>'aspheterising',
'aspidovov'=>['aspidovov', 'aspidovoff',],
'ass\'s'=>'arse\'s',
'ass'=>'arse',
'assafetida'=>'assafoetida',
Expand All @@ -1121,9 +1186,13 @@ public function AmericanBritishWords() {
'ass-kissing'=>'arse-kissing',
'ass-licker'=>'arse-licker',
'ass-licking'=>'arse-licking',
'assonovov'=>['assonovov', 'assonovoff',],
'Assyrianize\'s'=>'Assyrianise\'s',
'Assyrianize'=>'Assyrianise',
'Assyrianizes'=>'Assyrianises',
'astafyevev'=>['astafyevev', 'astafyeveff',],
'astakhovov'=>['astakhovov', 'astakhovoff',],
'astankovov'=>['astankovov', 'astankovoff',],
'Astera\'s'=>'Astrea\'s',
'Astera'=>'Astrea',
'astigmatizer\'s'=>'astigmatiser\'s',
Expand Down Expand Up @@ -1247,10 +1316,13 @@ public function AmericanBritishWords() {
'autotoxemia\'s'=>'autotoxaemia\'s',
'autotoxemia'=>'autotoxaemia',
'autotoxemias'=>'autotoxaemias',
'avdeyevev'=>['avdeyevev', 'avdeyeveff',],
'averyanovov'=>['averyanovov', 'averyanovoff',],
'avianize'=>'avianise',
'avianized'=>'avianised',
'avianizes'=>'avianises',
'avianizing'=>'avianising',
'avilovov'=>['avilovov', 'avilovoff',],
'avizandum'=>'avisandum',
'avizandums'=>'avisandums',
'avize'=>'avise',
Expand All @@ -1274,6 +1346,8 @@ public function AmericanBritishWords() {
'axmen'=>'axemen',
'aye\'s'=>'ay\'s',
'aye'=>'ay',
'ayushiyevev'=>['ayushiyevev', 'ayushiyeveff',],
'azarovov'=>['azarovov', 'azarovoff',],
'azotemia'=>'azotaemia',
'azotemic'=>'azotaemic',
'azotization'=>'azotisation',
Expand All @@ -1282,6 +1356,7 @@ public function AmericanBritishWords() {
'azotizes'=>'azotises',
'azotizing'=>'azotising',
'azotorrhea'=>'azotorrhoea',
'azov'=>['azov', 'azoff',],
];
}
}
Expand Down
Loading

0 comments on commit d5aadd5

Please sign in to comment.