Convert text to lower or upper case

Goal

Convert text to lower or upper case.

Prerequisites

Some text has been imported in Orange Textable (see Cookbook: Text input) and possibly further processed (see Cookbook: Segmentation manipulation).

Ingredients

Widget

Preprocess

Icon

preprocess_icon

Quantity

1

Procedure

Convert text to lower or upper case with an instance of Preprocess

Figure 1: Convert text to lower or upper case with an instance of Preprocess.

  1. Create an instance of Preprocess.

  2. Drag and drop from the output (righthand side) of the widget that emits the segmentation to be modified, here Text Field (Hamlet), to the input of Preprocess (lefthand side).

  3. Double-click on the icon of Preprocess to open its interface.

  4. In the Processing section, tick the Transform case checkbox.

  5. Choose to lower or to upper in the drop-down menu on the right.

  6. Click the Send button or tick the Send automatically checkbox.

  7. A segmentation containing the modified text is then available at the output of Preprocess; to display or export it, see Cookbook: Text output.

See also