Algorithm.
1: | Initialize seed list S = π― |
2: | Set context terms π = π― βͺ π |
3: | S.append( Apply-Context(π, Ξ², π, β³[][])) |
{Next, we iterate over terms in list S} | |
4: | for all terms t in S do |
5: | βLet H = [] be an empty list |
6: | βfor each i such that β³[t][i] > Ξ± do |
7: | ββH.append(i-th MeSH term) |
8: | βrelevantTerms = Apply-Context (H, Ξ², π, β³[][]) |
9: | βrelavantTerms = relevantTerms - S {avoid adding existing terms} |
10: | βS.append(relevantTerms) |
11: | return S |