README.TXT 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. File generate/unicode/README.TXT
  2. Paul Boersma, 20180405
  3. Steps to generate the source file UnicodeData.cpp,
  4. which is to be put in the sys folder:
  5. 1. Download UnicodeData.txt from unicode.org.
  6. 2. Prepend the following header, using a simple text editor:
  7. code;name;category;combining;bidi;decomp;num1;num2;num3;mirror;dum1;dum2;upper;lower;title
  8. After this, the file can be read as a Table in Praat with
  9. "Read Table from semicolon-separated file...".
  10. After that, the Table can be viewed with "View & Edit",
  11. and it is easy to extract information with commands such as
  12. "Extract rows where column (text)..." and "Extract rows where...".
  13. For information on the meanings of the features, see the attached HTML file and
  14. the attached UnicodeStandard-10.0.pdf (both from June 2017).
  15. 3. Run the script UnicodeData.cpp.praat. This creates UnicodeData.cpp.
  16. The details of the process are discussed in UnicodeData.cpp.praat.
  17. ## Timing.
  18. Step 3 is computationally intensive, and therefore a good test of the speed of the
  19. Praat scripting language.
  20. The measured time on my Late-2013 MacBook Pro with 2.3 GHz Intel Core i7:
  21. Praat 6.0.40: XX seconds.