Pattern Mining for Information Retrieval from Large Databases