Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Archaic Spellings-Mode an Optional Config Choice #9

Open
HoldOffHunger opened this issue Jun 23, 2020 · 0 comments
Open

Make Archaic Spellings-Mode an Optional Config Choice #9

HoldOffHunger opened this issue Jun 23, 2020 · 0 comments

Comments

@HoldOffHunger
Copy link
Owner

HoldOffHunger commented Jun 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant