chat parsing