Research Article
A Grammar-Based Semantic Similarity Algorithm for Natural Language Sentences
Algorithm 1
Linking types.
INPUT: , /* is the input sentence, and is the set of selected linking types */ | OUTPUT: | (1) ← link_grammar() | (2) FOR ALL DO | (3) IF .type THEN | (4) ← − | (5) END IF | (6) END FOR | (7) RETURN |
|