|
Algorithm 1: Semantic Information Vector Space Alignment Methods Cosine similarity vector alignment (outline) |
| 1. Input: |
| 2. quantitative: |
| 3. //vectorization and location information |
| 4. normalization: |
| 5. //vector normalization |
| 6. cosine similarity: |
| 7. //Text Similarity Determination |
| 8. //Alignment of text A and text B |
| 9. Determining text similarity: (−1 to 1) The closer to 1 the vectors are, the more similar they are. |