Text::Conversation attempts to thread conversational text one line at a time. Given a speaker’s ID (often a name, screen name, or other relatively unique identifier) and the text of their message, it attempts to find the most likely message they are referring to.  The repository includes an IRC bot that will attempt to build a conversation tree from a channel’s chatter.