Research Article

A Mobile Information System Based on Crowd-Sensed and Official Crime Data for Finding Safe Routes: A Case Study of Mexico City

Algorithm 2

Removing stop words.
   Input: An arbitrary stop word dictionary , the set of schema trees
   Result: A maximal set of stop words
(1)
(2) the set of all words in the domain
(3)
(4) while exist word
(5) for each interface
(6) remove the stop word constraints for the lables of sibling nodes
(7) if  no stop word constraint is violated then  then
(8)   
(9) else
(10)  remove antonymus of appearing in from
(11) return