Second pass on Expansion and Context processing in alternate spec.
Updated Term Rank in alternate API doc.
Updated Term Rank and Compact algorithms in alternative API.