localspelling
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Keywords
Repository
Basic Info
- Host: GitHub
- Owner: fastdatascience
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://fastdatascience.com
- Size: 39.1 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Local spelling
Install from Pypi:
pip install localspelling
Developed by Fast Data Science, https://fastdatascience.com
Source code at https://github.com/fastdatascience/localspelling
Python library for localising spelling between British and American conventions, conserving case.
Please note this library converts only spelling variants such as US "honour" vs UK "honor". It does not localise vocabulary such as "pavement" vs "sidewalk" or "aubergine" vs "eggplant".
It also does not localise spellings where there is more than one correct conversion, such as US "program", which corresponds to both "programme" and "program" in British spelling.
Requirements
Python 3.6 and above
Installation
pip install localspelling
Usage examples
Example 1
``` from localspelling import convert_spelling
convert_spelling("it has been an honor", "gb") ```
outputs
'it has been an honour'
Example 2: you can retrieve the dictionary used for the single words (this won't match wildcards like '-isation')
``` from localspelling import get_dictionary
get_dictionary("us")["honour"] ```
outputs
'honor'
Who to contact
Thomas Wood at https://fastdatascience.com
Owner
- Name: Fast Data Science
- Login: fastdatascience
- Kind: organization
- Website: https://fastdatascience.com
- Twitter: fastdatascienc1
- Repositories: 15
- Profile: https://github.com/fastdatascience
NLP and data science consulting
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Wood" given-names: "Thomas" orcid: "https://orcid.org/0000-0001-8962-8571" title: "Local spelling (Computer software)" version: 0.94 date-released: 2020-10-03 url: "https://github.com/fastdatascience/localspelling"
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Packages
- Total packages: 1
-
Total downloads:
- pypi 87 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 10
- Total maintainers: 1
pypi.org: localspelling
Translates input between UK and US spelling
- Homepage: https://fastdatascience.com
- Documentation: https://localspelling.readthedocs.io/
- License: MIT
-
Latest release: 0.94
published over 5 years ago