Experimenting with word suggestion in java