Little Transformer: Text Editor with TTS

This tool can transform texts into a variety of formats/structures. It can assist tasks of data formatting and coding. Formatting steps can be stored and reused. The tool includes text-to-speech of various languages; it can be used for reading contents and practicing languages.


Download (Official Version)
: Microsoft Store (Windows 10)


Download (Portable Version): ver1.1.21 (~2.12 MB) (any Windows) [2020-06-20]

Older Versions:
ver1.0 (~1.36 MB) (any Windows) [2019-02-13]

More links: Discussions about Little Series, Privacy Policy


Highlights

  • Assist text copying and formatting:
    • Similar to notepad, this tool can be used to de-format texts.
    • You can quickly eliminate double space, double enter
    • You can quickly solve indent or spacing problem
  • Assist data formatting and coding.
  • This app can be helpful to language learners or those who are preparing for presentations
    • With TTS, this app can read texts or script for you in a variety of languages

New Features 20/06/21 , 20/07/05

  • New Features: SKIP, SCREEN
  • Improved Feature: CROP >> CROP … FIRST or CROP … LAST
  • Feature: Remove space before texts on each line
  • Feature: Auto Indent by { **beta, to be improved
  • Save & Save As
  • Drag Drop – you can cancel by Restore [Esc]
  • Recent Files
  • WordWrap on/off
  • LineNumber on/off **beta, to be improved

Coming Features

  • Some channel for sharing “Formatters” between users
  • Customizable Hotkey


TRANSFORMER

With Transformer, you can save and load formatting steps; prepare once and later format everything in 1 click.

Examples of use
Example of use: Change bullets from Words to HTML or Latex version

 

Example of use: Extract questionnaire questions from PDF
Example of use: extract 2nd column and sort in alphabetical order
[collapse]

Manual



Thing to Know:

  • Press “TRANSFORM” to do formatting based on given commands
  • Commands are processed line by line.
  • If you make mistake, you can redo by using Esc on the textbox of contents
  • A sequence of formatting steps can be saved as “Formatter.” You can choose a formatter from a select box, and press “Insert” to paste content into the cursor point. You can click “Explore” to go to the storage folder.

Basic: basic formatting

  • REPLACE [old text] BY [new text]
  • ADD PREFIX [text]
    For each line, add text at the beginning
  • ADD SUFFIX [text]
    For each line, add text at the end
  • CROP AFTER FIRST [text]
    For each line, get contents after the given text (if > 1, remove from the first)
  • CROP BEFORE LAST [text]
    For each line, get contents after the given text (if > 1, remove from the last)
  • CROP FROM FIRST [text]
    For each line, get contents starting the given text (if > 1, remove from the first)
  • CROP UNTIL LAST [text]
    For each line, get contents until the given text (if > 1, remove from the last)
  • REMOVE BETWEEN [cha1] AND [cha2]
    Remove all content between 2 characters, such as removing all reference [..] from contents 
    **Previously called “CUT” **
  • #toN FROM [number]
    Increment One-by-One
    For example, given # = 1, “Hello# World#, How# are# You#” → “Hello1 World2, How3 are4 You5” 
  • #toN-L FROM [number]
    Increment By Lines
    Similar to the above, but the number reset for each line.
  • SCREEN REMOVE [text]
    Make lines with [text] become blank (e.g., remove comments // in code)
  • SCREEN KEEP [text]
    Keep only lines with [text]
  • #SKIP GET [number] SKIP [number]
    For example, given 1 and 2 >> keep line # 1, 4, 7, …. remove 2,3,5,6,…
  • SORT
    Sort line in alphabetical order
  • Format commands: no need to put variable.

Char: use special character, such as [Tab] and new [NewLine]


[Top Menus]

Restore last session: restore text saved upon the last closing.
(use this menu if you forgot to save file; the file is temp.txt)

Formatting/Restructuring/Transforming (hotkey F1 – F8)
1-Line: all texts in 1 lines
1-Space: remove more than one white-space (e.g., “A Brief History of Time” to “A Brief History of Time”)
1-All: remove more than one enter
1-All: a combination of all the above
1-Sentence per Line: one sentence for each line.
1-Line by Comma: all texts in 1 lines, separated by comma
Tab to Comma Delimited: designed for making a comma-delimited csv file
No space before texts, each lines:
Auto Indent by {}: commonly used in programming

Casing (giving an example below)

a brief history of time: from the big bang to black holes. this is a popular-science book on cosmology (the study of the universe) by british physicist stephen hawking. it was first published in 1988.

CASE: A BRIEF HISTORY OF TIME: FROM THE BIG BANG TO BLACK HOLES. …
case: a brief history of time: from the big bang to black holes. …
Case: A Brief History Of Time: From The Big Bang To Black Holes. …
Case -a an of: a Brief History of Time: from the Big Bang to Black Holes. …
Sentence. Sentence: A brief history of time: from the big bang to black holes. This is a popular-science book on cosmology (the study of the universe) by british physicist stephen hawking. It was first published in 1988.

Others
Restore: undo last formatting (different from “Undo” by Ctrl+Z)
Count Words: count words, letters, space, etc.
List of Hotkeys: show hotkeys


[Tab Menus]

Replace: replace text
Search: find next
Voice: text-to-speech (TTS), based on available TTSs in your Windows. Select texts to read only specific part.
Add: add prefix and suffix (line-by-line)
Crop: crop text between specified strings (line-by-line)
Remove: remove texts between specified strings
Skip: get some lines, remove some lines
Screen: for lines, keep or remove if it contains a given string
Incre.: increment text by replacing # using numbers in a given range
Visual: change text size

+: Other features that are built for specifically as follows:
Sort: Sort line in alphabet order.
Locate Blank Line: replace blank like to [n].
Vancouver2IEEE (APA Style): format a reference from Vancouver (obtained from Google Scholar) to IEEE, APA style (see an example below).


Examples of Formatting

Top Menus

Example case for 1-Line
Example case for 1-Line by Comma
Example case for Tab to Comma Delimited

Tab Menus

#1. Cut: useful as a pre-processing step before using text-to-speech (e.g., removing references)

Copy texts without references

#2. Crop

Extract a parameter from data

Copy texts with line numbers embedded

#3. Skip

Skip

#4. Incremental by #

Assist programming

 

Create a single-line list of items with numbers

 

#5. Combination
In this example, I want to write codes for printing Kinect skeleton data.
I have joint names in this format

Kinect.JointType_Head,

I want to print it as

txt += skeleton.Joints[JointType.Head].Position.X + “,” + skeleton.Joints[JointType.Head].Position.Y + “,” + skeleton.Joints[JointType.Head].Position.Z;

Here is how it can be done, with a help of this tool and a spreadsheet.

[collapse]
Example of TTS (VDO)
[collapse]
Example of Vancouver2IEEE

Example 1

Paliyawan P, Kusano T, Thawonmas R. Motion Recommender for Preventing Injuries During Motion Gaming. IEEE Access. 2019;7:7977-88.

to

P. Paliyawan, T. Kusano, R. Thawonmas, “Motion Recommender for Preventing Injuries During Motion Gaming,” IEEE Access, 2019, vol. 7, pp. 7977-7988.

 

Example 2

Paliyawan P, Nukoolkit C, Mongkolnam P. Prolonged sitting detection for office workers syndrome prevention using Kinect. In2014 11th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON) 2014 May 14 (pp. 1-6). IEEE.

to

P. Paliyawan, C. Nukoolkit, P. Mongkolnam, “Prolonged sitting detection for office workers syndrome prevention using Kinect,” In2014 11th international conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), 2014 May 14, pp. 1-6, IEEE.

[collapse]

Install Text-to-speech

This tool uses TTSs available in your Windows.
Microsoft Speech Platform – Runtime Languages (Version 11)
https://www.microsoft.com/en-us/download/details.aspx?id=27224

more details: https://support.office.com/en-us/article/using-the-speak-feature-with-multilingual-tts-e522a4f2-37cb-492b-be6a-8997d23dfe70



Exporting Presentation Notes from PowerPoint using Macro

Macro Code is available in “PPT Macro.txt” attached with Little Transformer.
You may download a file separately here

  1. Go to tab View, click “Macro
  2. Type any name, click “Create
  3. Copy-paste codes from PPT Macro.txt, save (Ctrl+S)
  4. Open “Macro” again and run the newly added Macro
  5. Copy text to Little Transformer

Not solve your problem? see another solution

 

Don`t copy text!