Skip to main content

Smooth out grammar, punctuation, and number-related corner cases when formatting text for human consumption

Project description

Talk Gooder

PyPI - License GitHub Actions Workflow Status GitHub Actions Workflow Status PyPI - Downloads

talkgooder attempts to smooth out grammar, punctuation, and number-related corner cases when formatting text for human consumption. It is intended for applications where you know there's a noun and are trying to generate text, but you don't know much about it.

It handles:

  • Plurals: "one cat" vs. "zero cats"
  • Possessives: "the cat's toy" vs. "both cats' toys"
  • Numbers to words: 2 == "two", 16 == 16
  • "There is" vs. "There are": "There is one cat" vs. "There are two cats"
  • "A" vs. "An": "A cat" vs. "An orange cat"
  • "Was" vs. "Were": "There was one cat" vs. "There were two cats"

talkgooder is currently specific to American English, but it is extensible to other languages.

Contributions are welcome at github.com/brianwarner/talkgooder!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

talkgooder-1.1.5.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

talkgooder-1.1.5-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file talkgooder-1.1.5.tar.gz.

File metadata

  • Download URL: talkgooder-1.1.5.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for talkgooder-1.1.5.tar.gz
Algorithm Hash digest
SHA256 d5d8659e74afa33c0cdacf9bc90badc4a60e7e1f65f1510efb466e3c2da1c7ab
MD5 7cf6eae8d32ef7014930f2766aea445e
BLAKE2b-256 1170ef60995edbcf153cea519efff08a60374466ea3bf32cb22b9cf0d2e1da32

See more details on using hashes here.

Provenance

The following attestation bundles were made for talkgooder-1.1.5.tar.gz:

Publisher: release.yml on brianwarner/talkgooder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talkgooder-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: talkgooder-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for talkgooder-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 53330504d7157a1cd493e45bf484cc3b2c6121a4426d905251fbcf3bc36d524e
MD5 90f4aabf4342ebff68532e8e9bae101b
BLAKE2b-256 879bfaebc241036b0ff13b8705d5dec0b287b5c6dabda30a45a8be3446933c19

See more details on using hashes here.

Provenance

The following attestation bundles were made for talkgooder-1.1.5-py3-none-any.whl:

Publisher: release.yml on brianwarner/talkgooder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page