Final version.
Optimization in WordNet - use SAP as local variable rather than
recreating it every time.