Text this: Modeling of prediction system : an application of the nearest neighbor approach to chaotic data