Import text from file¶
Goal¶
Import the content of one or more raw text files for further processing with Orange Textable.
Ingredients¶
Widget
Icon
Quantity
1
Procedure¶
Single file¶

Figure 1: Importing the content of a file using Text Files.¶
Create an instance of Text Files.
Double-click on it to open its interface.
Make sure the Advanced settings checkbox is not selected.
Click the Browse button to open the file selection dialog.
Select the file you want to import and close the file selection dialog by clicking Ok.
In the Encoding drop-down menu, select the encoding that corresponds to your file or (auto-detect) if unsure.
Click the Send button or tick the Send automatically checkbox.
A segmentation covering the file’s content is then available at the output of Text Files; to display or export it, see Cookbook: Text output.
Multiple files¶

Figure 2: Importing the content of several files using Text Files.¶
Create an instance of Text Files.
Double-click on it to open its interface.
Make sure the Advanced settings checkbox is selected.
If needed, empty the list of imported files by clicking the Clear all button.
Click the Browse button to open the file selection dialog.
Select the first file(s) you want to import. Select the encoding that corresponds to your file(s) or (auto-detect) if unsure.
Click the Add button to add your first file(s) to the list of imported files.
Repeat steps 5 to 7 for adding more files if needed.
Click the Send button or tick the Send automatically checkbox.
A segmentation containing a segment covering each imported file’s content is then available at the output of Text Files; to display or export it, see Cookbook: Text output.