Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,734,637,529 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

pattern matching

   Also found in: Dictionary/thesaurus, Acronyms, Wikipedia 0.01 sec.
1.pattern matching - A function is defined to take arguments of a particular type, form or value. When applying the function to its actual arguments it is necessary to match the type, form or value of the actual arguments against the formal arguments in some definition. For example, the function

length [] = 0 length (x:xs) = 1 + length xs

uses pattern matching in its argument to distinguish a null list from a non-null one.

There are well known algorithm for translating pattern matching into conditional expressions such as "if" or "case". E.g. the above function could be transformed to

length l = case l of [] -> 0 x:xs -> 1 : length xs

Pattern matching is usually performed in textual order though there are languages which match more specific patterns before less specific ones.
2.pattern matching - Descriptive of a type of language or utility such as awk or Perl which is suited to searching for strings or patterns in input data, usually using some kind of regular expression.


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
The company's "pattern matching technology", by which to find out morpheme (the smallest meaningful unit of a language) characteristics of sentence structures, such as articles, descriptions, and type of characters used, is applied to search for unique patterns described in complicated structures of patent documents through multiple pattern matching.
To activate Synthetix linguistic pattern matching searches for existing or new document collections, IPRO View users should contact their local Syngence representative or visit http://www.
Natick, Massachusetts, USA has extended the capability of its PatMax[R] geometric pattern matching technology with enhancements for pattern location and alignment.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2009 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.