Learning context to disambiguate word senses