Find the number of string occurrences within a large text.
Data Mining was developed to find the number of Hits (string occurrences) within a large text. To use Data Mining, use the File > Open menu to load a plain text file or paste the plain text to be searched into the window, enter the strings (case-sensitive) into the fields (28 fields provided) and click on the "Start Mining" button. Hits will be shown to the left of each string. The contents of the 28 search fields are saved when you quit and restored when you relaunch. To use the Ad Hoc search capability, type the search string (case-sensitive) into the Ad Hoc String field and click on the "Ad Hoc" button. The result will appear above the "Ad Hoc" button. The Ad Hoc String is not saved between sessions. There is also a Find capability. You can type a search string (case-insensitive) into the Find field and click on the "Find" button. The window will scroll to that row (just above the red line in the middle of the window) and the result is highlighted. You can click on the "Find Next" button to step through all string occurrences. The total number of text characters is displayed. Click on the "Reset" button to clear the text window, Hits and the Ad Hoc and Find search strings. Click on the "Clear Hits" button to clear just the Hits. Data Mining is optimized for speed. A search of one million characters for 28 strings takes approximately one second. A Help window is available. This utility was written in REALbasic and is freeware.