1. A method for using a model for pattern recognition, the method comprising: executing instructions stored in memory, wherein execution of the instructions by a processor: configures a pattern matching engine based on user input, the user input comprising one or more user configurable bounds on searching; and executes the pattern matching engine to search a pre-classified document for a plurality of features, wherein the pre-classified document is pre-classified into a category of content, the search results in a set of scores for the pre-classified document, and a model is established for the category of content based on the set of scores for the pre-classified document; and storing in memory the established model for the category of content based on the set of scores for the pre-classified document, wherein further execution of instructions by the processor: executes the pattern matching engine to perform a search for the plurality of features in an incoming string; updates a plurality of scores based on presence of any of the plurality of features in the incoming string; terminates the search before reaching an end of the string if the one or more user configurable bounds are met; outputs the plurality of scores after terminating the search; and classifies the incoming string into the category of content based on a comparison of the scores for the incoming string with the model established based on the set of scores for the pre-classified document.