World Conquest Chronicles

World Conquest Chronicles

Uniquer, v1.2

Utility for an increase of an uniqueness of a text.

Simple direct translation and an output formatting.

Change Log

  • support a simple direct translation (without a replacing to synonyms);
  • support an optionally output formatting:
    • extraction of a cut (first few sentences);
    • splitting of a text to paragraphs.

Features

  • increase an uniqueness of a text:
    • by a replacing of words to their synonyms via a synonyms dictionary:
      • load a dictionary to a prefix tree (trie);
      • find a word by its longest prefix;
      • select a synonym randomly;
    • by a double translation through an interim language (source → interim → source) via Google Translate service;
  • support a simple direct translation from a specified language (without a replacing to synonyms);
  • prepare a synonyms dictionary on a loading:
    • combine synonyms lists for same words;
    • remove duplicates from synonyms lists;
  • support restrictions of a replacing to synonyms:
    • minimal length of a replaced word;
    • minimal length of a selected synonym;
    • probability of a replacing of each word;
  • correspond to constraints of Google Translate service:
    • split the text to chunks:
      • don't cut a sentence;
      • don't cut a word;
    • add a delay between requests;
  • CLI:
    • input the text from stdin;
    • output the text to stdout;
  • format an output (optionally):
    • extract a cut (first few sentences);
    • split a text to paragraphs.

Screenshots

Simple direct translation