summaryrefslogtreecommitdiff
path: root/ipl/procs/titleset.icn
blob: d69c1fc4166bf4a6b40feb5fc27d14776e9d0b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
############################################################################
#
#	File:     titleset.icn
#
#	Subject:  Procedure to produce set of titles
#
#	Author:   Ralph E. Griswold
#
#	Date:     September 2, 1991
#
############################################################################
#
#   This file is in the public domain.
#
############################################################################
#
#     This procedure produces a set of strings that commonly appear as
#  titles in names.  This set is (necessarily) incomplete.
#
############################################################################

procedure titleset()
   local titles

   titles := set()

   every insert(titles,
      "Mr." | "Mrs." | "Ms." | "Dr." | "Prof." |
      "Mister" | "Miss" | "Doctor" | "Professor" | "Herr" |
      "-Phys." | "Dipl.-Phys." | "Dipl." | "Ing." |
      "Sgt." | "Tsgt." | "Col." | "Lt" | "Capt." | "Gen." | "Adm."
      )

   return titles

end