SECURITY BREACH DETECTED
UNAUTHORIZED ACCESS ATTEMPT

XPHRASE GENERATION

Expressive phrase generator — strong, modern, and minimalist

PROJECT OVERVIEW

XPhrase Generation is a multilingual phrase generator designed for command-line interface (CLI) usage. It creates expressive, randomized phrases using words from Portuguese, English, and German, interlinked with special characters and digits.

This project is:

100% PYTHON

Written entirely in Python for maximum efficiency and portability.

The principle of randomness enables the generation of over 12.6 trillion unique combinations by interconnecting words from three languages, along with the inclusion of special characters and numerical digits.

CLI-COMPATIBLE

Designed for Linux and Windows command-line environments.

Generate single phrase: Asks: "generate between 3-21 words?", and generates one phrase with the specified word count (3-21 words).

Generate multiple phrases: First, you are asked to define the word range per sentence ('generate between 3 and 21 words?') and then the number of sentences ('generate between 5 and 10 sentences?'), in order to then generate multiple sentences with a consistent word count.

WEB VERSION

The CLI project has been fully converted to the web version of the HTML interface, maintaining the same phrase generation method, now accessible directly in your browser.

XPHRASE GENERATION — ACCESS THE WEB VERSION

See different ways to generate your sentences. Generate sentences right now!

HTML interface (web version)

100% of the CLI project converted to the web browser

The same method for generating phrases, but in your browser

FEATURES

ice8café*intentos7vermeideN

REQUIREMENTS

XPhrase Generation runs on:

PYTHON 3.8+

No external dependencies required

LINUX

Compatible with Debian, Ubuntu, Arch, and other distributions

WINDOWS

Works with PowerShell and CMD

INSTALLATION LINUX

Clone the repository:

git clone https://github.com/gerivanc/xphrase.git

Go to the directory folder:

cd xphrase

USAGE - COMMAND LINE INTERFACE - CLI

After installation, navigate to the directory where the XPhrase Generation repository folder was installed, then choose one of the following options to generate the phrases:

Mode 'PYTHONPATH='. The parameter should be between 5 and 10 words long.:

PYTHONPATH=src python src/xphrase/main.py --count 5

Mode 'PYTHONPATH='. Interactive menu - generates unique and multiple phrases.:

PYTHONPATH=src python src/xphrase/main.py --interactive

Mode 'echo PYTHONPATH='. Defines the minimum and maximum number of words to be generated in the sentence (--min 5 --max 21).:

echo 'PYTHONPATH=src python src/xphrase/main.py "$@"' > xphrase.sh chmod +x xphrase.sh ./xphrase.sh --min 5 --max 21

Mode 'echo PYTHONPATH='. Show which version of XPhrase Generation it is.:

echo 'PYTHONPATH=src python src/xphrase/main.py "$@"' > xphrase.sh chmod +x xphrase.sh ./xphrase.sh --version

🛠️ To view ways to generate sentences: Access the Command line interface - CLI section, visit | Readme

WORD BANK SPECS

The generator contains 4,000 specific and unique words, selected from the vocabulary of three different languages:

1,334 ENGLISH WORDS
1,333 PORTUGUESE WORDS
1,333 GERMAN WORDS

GENERATION RULES

  • Phrase length: 3 to 21 words
  • Each word includes at least one special character and one digit
  • Final word ends with a capital letter
  • Language order is randomized

Example outputs:

run7Liebe!café2dream#vermeide9IntentoN
code3vermeide@ice8Liebe*intentos1caféZ

SUPPORT AND CONTRIBUTIONS

Found an issue? Have a suggestion?