Skip to main content

Tools for getting creative with acronyms

Project description

Acronym Tools

A collection of functions to generate creative acronym interpretations based on a given context.

Installation

Place this package where it can be imported in your Python projects.

Usage

Generate Acronym Interpretations

Generates full-form interpretations for one or more acronyms based on provided context and number of interpretations per acronym.

Doctest Example:

>>> from acronymer import generate_acronym_interpretations
>>> output = generate_acronym_interpretations("API, CPU", "tech terms", n=2)
>>> print(output)
Acronym: API  
Interpretations:  
1. Application Programming Interface  
2. Advanced Performance Integration  

Acronym: CPU  
Interpretations:  
1. Central Processing Unit  
2. Computational Processing Unit

Another Example:

>>> output = generate_acronym_interpretations("API, CPU", "dragon names", n=2)
>>> print(output)
Acronym: API  
Interpretations:  
1. Arcane Power Infuser  
2. Aetherial Presence Instigator  

Acronym: CPU  
Interpretations:  
1. Celestial Pulse Unleasher  
2. Chaos-Proto Urge

Generate Acronyms for Context

Generates a list of acronyms with creative full-form interpretations tailored to a given context.

Doctest Example:

>>> from acronymer import generate_acronyms_for_context
>>> output = generate_acronyms_for_context("A software package that has tools for acronyms", max_letters=3, num_acronyms=4)
>>> print(output)
1. Acronym: APT  
   Interpretation: Acronym Projection Tools  

2. Acronym: CAT  
   Interpretation: Creative Acronym Toolkit  

3. Acronym: MAP  
   Interpretation: Meaningful Acronym Producer  

4. Acronym: TAP  
   Interpretation: Text Acronym Processor

Functions

  • generate_acronym_interpretations(acronyms, context, n=1)
    Generate creative and context-specific interpretations for each acronym.

  • generate_acronyms_for_context(context, max_letters=4, num_acronyms=5)
    Generate a list of acronyms with creative interpretations based on the provided context.

License

[Specify license here]

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

acronymer-0.0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

acronymer-0.0.3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file acronymer-0.0.3.tar.gz.

File metadata

  • Download URL: acronymer-0.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for acronymer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 74cf4b0b99b428ffd2563a5f3ef0979f0be1e506742371fec8e788d62aebf314
MD5 f14d84bad155a6396c54b66ad610a820
BLAKE2b-256 d0f3045c3c537ced110b20a80fd16fe1a496a4368706949de74fbc9957eee80c

See more details on using hashes here.

File details

Details for the file acronymer-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: acronymer-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for acronymer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edefbc925ff67523abdfb5362c9d25df07d50fff26adb9b91de75d88ae83edad
MD5 ff36c7993aab54c11c346e49455705ba
BLAKE2b-256 adcf0a31297129091f58961a2ae4c1f9d8b3012150eb8232b5ec1d505943d99c

See more details on using hashes here.

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