Export text content (and/or change text encoding)¶
Goal¶
Export the content of a text (segmentation).
Prerequisites¶
Some text has been imported in Orange Textable (see Cookbook: Text input) and possibly further processed (see Cookbook: Segmentation manipulation).
Ingredients¶
Widget
Icon
Quantity
1
Procedure¶

Create an instance of Display.
Drag and drop from the output (righthand side) of the widget that emits the segmentation to be displayed, here Text Field (Hamlet), to the Display (lefthand side).
Double-click on the icon of Display to open its interface and view the imported text.
Uncheck the Display segmentation in rich text format (HTML) checkbox.
Click on the Save to file button to open the file selection dialog.
Select the location you want to export your file to and close the file selection dialog by clicking on Ok.
Comment¶
The default output encoding is utf8; it can be changed by ticking the Advanced Settings checkbox.
If you rather want to copy the text content in order to later paste it in another program, click on Copy to clipboard.
If the input segmentation is large (>1000 segments), only the first 5 segments and the last 5 segments are displayed, and thus exported, by default. If you want all segments exported, tick the Advanced Settings checkbox then uncheck Limit number of displayed segments.
More options for formatting the exported text are available by ticking the Advanced settings checkbox.