You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our style of American=>British spellings is typically, 'american-spelling'=>['modern-british-spelling', 'rare-british-spelling', 'archaic-british-spelling'], and when converting back and forth, we automatically always choose the most modernized word, because that makes sense.
But maybe someone wants to have the archaic spellings specifically? In this case, we would select the last element of this array (which is the most archaic), and not the first element (which is the most contemporary and/or modern).
Create an optional config choice (established by means of constructor or convert args) that causes the converter to use the last British optional alternate as opposed to the most modern one.
If you are curious on coding details, check out a similar task, which is to make Acronyms-optional in constructor/args: #5
The text was updated successfully, but these errors were encountered:
Our style of American=>British spellings is typically, 'american-spelling'=>['modern-british-spelling', 'rare-british-spelling', 'archaic-british-spelling'], and when converting back and forth, we automatically always choose the most modernized word, because that makes sense.
But maybe someone wants to have the archaic spellings specifically? In this case, we would select the last element of this array (which is the most archaic), and not the first element (which is the most contemporary and/or modern).
Create an optional config choice (established by means of constructor or convert args) that causes the converter to use the last British optional alternate as opposed to the most modern one.
If you are curious on coding details, check out a similar task, which is to make Acronyms-optional in constructor/args: #5
The text was updated successfully, but these errors were encountered: