This page describes how to perform initial text processing with the AIF2 library.
The process overview
Initial process of the text processing with the AIF2 library contains 3 steps:
- creating the instance of the ITextFactory type;
- creating the instance of the IText type;
- usage of the IText type instance;
Creating the instance of the ITextFactory type
For initial text parsing - instance of the ITextFactory need to be created. At this stage of development there is only one implementation of the ITextFactory interface:
1 2 3 4 5 6 7 8 9 10 11
Creating the instance of the IText type
Once the ITextFactory type instance has been created, IText instance need to be build by executing the factory method.
1 2 3 4 5 6 7 8
this is time consuming operation.
Usage of the IText type instance
Once the IText instance is created it could be used to obtain all necessary data from the text:
1 2 3 4