Research Article
Recommendation Model Based on Semantic Features and a Knowledge Graph
Algorithm 2
Calculate the extended word set of source features.
| Input: - source feature entity set of items | | Output: - extended words set | | 1: | | 2: if then output | | 3: for to | | 4: According to the Type attribute of the resource page in DBpedia, the extended word set of is . And . | | 5: Calculate between and according to formula (1), and determine the extended word set for according to a given threshold, and . | | 6: end for | | 7: return |
|