Text this: Topological mapping and qualitative localization based on K-adjacent union clustering algorithm