|
Algorithm 1 Privacy Attribute Matching |
| Input: Terms_of_Service
|
| Output: Privacy_Policy
|
-
1:
;
-
2:
-
3:
-
4:
= {Purpose, Operation, Disclosure, Retention, Condition}
-
5:
for each in
do
-
6:
switch ()
-
7:
case Purpose:
-
8:
if ( and ) then
-
9:
-
10:
else
-
11:
return
-
12:
end if
-
13:
case Operation:
-
14:
if ( and ) then
-
15:
-
16:
else
-
17:
return
-
18:
end if
-
19:
case Disclosure:
-
20:
if ( and ) then
-
21:
-
22:
else
-
23:
return
-
24:
end if
-
25:
case Retention:
-
26:
if () then
-
27:
-
28:
else
-
29:
return
-
30:
end if
-
31:
case Condition:
-
32:
if ( == ) then
-
33:
-
34:
else
-
35:
return
-
36:
end if
-
37:
end switch
-
38:
end for
-
39:
=
-
40:
=
-
41:
-
42:
return
|