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

american british localisation localise localization localize spelling
Last synced: 6 months ago · JSON representation ·

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
american british localisation localise localization localize spelling
Created over 5 years ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

Fast Data Science logo

🌐 fastdatascience.com Fast Data Science | LinkedIn Fast Data Science | X Fast Data Science | Instagram Fast Data Science | Facebook Fast Data Science | YouTube Fast Data Science | Google Fast Data Science | Medium Fast Data Science | Mastodon

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

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

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 87 Last month
Rankings
Dependent packages count: 10.1%
Average: 20.5%
Dependent repos count: 21.6%
Downloads: 29.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi