Text this: Nearest-neighbor methods in learning and vision