摘要 |
A method for determining an adjacency relation for analyzing a business card containing data blocks. A target data block and a comparison data block is selected from the data blocks. Then, the method checks whether the comparison data block is topologically overlapped with the target data block. If they are topologically overlapped, then it checks whether the comparison data block has the shortest distance to the target data block, in comparison with data blocks that are topologically overlapped with the target data block. If the distance is shortest, then it checks whether there exists an interrupted data block between the comparison data block and the target data block. If there exists no interrupted data block, it is determined that there exists an adjacency relation between the comparison data block and the target data block. A computer readable recording medium is also disclosed, which executes the method as mentioned above.
|