Remove accents from text

Goal

Remove all accents from text.

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

Remove accents from text with an instance of Preprocess

Figure 1: Remove accents from text with an instance of Preprocess.

  1. Create an instance of Preprocess on the canvas.
  2. Drag and drop from the output connection (righthand side) of the widget instance that that emits the segmentation to be modified (e.g. Text Field) to the Preprocess instance’s input connection (lefthand side).
  3. Open the Preprocess instance’s interface by double-clicking on its icon on the canvas.
  4. In the Processing section, tick the Remove accents checkbox.
  5. Click the Send button (or make sure the Send automatically checkbox is selected).
  6. A segmentation containing the modified text is then available on the Preprocess instance’s output connections; to display or export it, see Cookbook: Text output.