• 5.2.2 Model 2
  • 5.2.3 Model 3
  • Simulations on test inputs




    Download 1,09 Mb.
    bet56/62
    Sana21.03.2017
    Hajmi1,09 Mb.
    #917
    1   ...   52   53   54   55   56   57   58   59   ...   62
    5.2 Simulations on test inputs

    This section will explain how to run each model on Pocket-PC emulator and then to check the program on given test inputs. For every implementation the steps will be provided to run the application.


    5.2.1 Model 1

    For running the application on Model 1 the following steps should be done:



    1. First of all compile the source code. The source code includes the source code for Frontend, and the source for the two dynamic link libraries Hindianalyser and Hindiengine. All the three modules will be compiled using the eMbedded Visual C++.

    2. On the eMbedded Visual C++ IDE, specify the SDK as the Pocket-PC, and the next fields as Win32 (WCE x86 debug) and Pocket PC 2002 emulation.

    3. If the compilation is successful, then the dynamic link libraries will be made and transferred into the Pocket-PC emulator.

    4. The executable Frontend.exe will also be made and transferred into the Pocket PC’s default executable path.

    5. The dynamic link libraries are copied into \Windows directory on the target emulator or the target device. An MFC dll is also copied to \Windows directory as MFC dll is needed to run the Frontend executable

    6. Now before running the application upload the files epoch.txt and inton_bengali onto the emulator. To upload the files go to Tools  Remote File Viewer. Once the Remote File Viewer appears the files can be transferred onto the emulator or the device.

    7. After the files are transferred the next step is to transfer the sound library on the emulator or target device. A new directory will be made called voice on the device and then using Remote File Viewer the wav files will be uploaded into the voice directory.

    8. The application can be run by clicking on Frontend.exe on the start menu. The Frontend GUI will start and the Bengali text for Text-to-Speech conversion will be applied to it.

    9. An example of a Bengali or Hindi Text can be “mera naam piyush hai”. This text will be entered in input area and then performance will be obtained by pressing the Analyse button and the Generate button.

    10. A sound file will be generated as the output and will be played on the emulator or the device.

    11. The next section will compare the real time performance of this model with other models.


    5.2.2 Model 2

    1. In this model GDBMCE library is used. Therefore first of all source code for GDBMCE library will be compiled.

    2. Successful compilation will upload the gdbmce.dll to \Windows folder on the target device or the emulator.

    3. epoch.txt and inton_bengali files will not be transferred to the device. Instead the hash database epoch1.db and inton_bengali.db will be transferred to the device.

    4. Remaining all steps will be same as done in Model 1.


    5.2.3 Model 3

    1. This model don’t require the sound library (the folder consisting of wav files) to be transferred on the device. Instead in this model the voice database (voice.db) is transferred to the device.

    2. Rest all steps remains same as Model 2.




    Download 1,09 Mb.
    1   ...   52   53   54   55   56   57   58   59   ...   62




    Download 1,09 Mb.