Research Article
A Grammar-Based Semantic Similarity Algorithm for Natural Language Sentences
Table 2
The GMs of sentence A versus sentence B.
| | | | | | | |
| | Subtypes and words | | | | | | | | | | | | | revenue | revenue- dropped | revenue- of | with- scandal | over- company | of- year | from- period | the- scandal |
‘s- company | the- period |
| | | revenue | 1 | — | — | — | — | — | — | — | — | — |
| | | revenue- dropped | — | 1 | — | — | — | — | — | — | — | — |
| | | revenue-in | — | — | 1 | — | — | — | — | — | — | — | | quarter-of | — | — | 0.33 | — | — | — | — | — | — | — | | period-earlier | — | — | 0.33 | — | — | — | — | — | — | — |
| | | in-quarter | — | — | — | 0.33 | 0.67 | 0.83 | 0.91 | — | — | — | | from-period | — | — | — | 0.33 | 0.36 | 0.91 | 1 | — | — | — | | of-year | — | — | — | 0.31 | 0.77 | 1 | 0.91 | — | — | — |
| | | the-quarter | — | — | — | — | — | — | — | 0.33 | 0.67 | 0.91 | | the-year | — | — | — | — | — | — | — | 0.31 | 0.77 | 0.91 |
|
|