home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OL.LZH / PROCS.LZH / TITLESET.ICN < prev    next >
Text File  |  1991-09-05  |  855b  |  33 lines

  1. ############################################################################
  2. #
  3. #    Name:    titleset.icn
  4. #
  5. #    Title:    Produce set of titles
  6. #
  7. #    Author:    Ralph E. Griswold
  8. #
  9. #    Date:    September 2, 1991
  10. #
  11. ############################################################################
  12. #
  13. #     This procedure produces a set of strings that commonly appear as
  14. #  titles in names.  This set is (necessarily) incomplete.
  15. #
  16. ############################################################################
  17.  
  18. procedure titleset()
  19.    local titles
  20.  
  21.    titles := set()
  22.  
  23.    every insert(titles,
  24.       "Mr." | "Mrs." | "Ms." | "Dr." | "Prof." |
  25.       "Mister" | "Miss" | "Doctor" | "Professor" | "Herr" |
  26.       "-Phys." | "Dipl.-Phys." | "Dipl." | "Ing." |
  27.       "Sgt." | "Tsgt." | "Col." | "Lt" | "Capt." | "Gen." | "Adm."
  28.       )
  29.  
  30.    return titles
  31.  
  32. end
  33.