some basic function for language processing, or data processing