Skip to main content
. Author manuscript; available in PMC: 2017 Jul 24.
Published in final edited form as: Data Knowl Eng. 2014 Sep 18;94(B):189–201. doi: 10.1016/j.datak.2014.09.002

Algorithm.

Expand-Candidate-Terms (𝒯, π’œ, Ξ±, Ξ², β„³[ ][ ]).

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