Added terms from reference words

Added terms from reference words - function (woToTermsRef) and data