Solved error in preprocessing and first version of (weighted) text in documents