What's the verb for 'to form a canonical representation'?

I'd like to describe the activity of turning a set of elements into its canonical (standardized base) form.

Some candidates seem to be:

  • canonicalize
  • canonize

I'd also like to name the device performing this action, candidates so far:

  • canonicalizer
  • canonizer

None of these look quite right, what's the right term?


Solution 1:

I always use canonize myself, because it’s short to type and accords with canon law.

You could also use normalize or standardize, both of which are preferable to the wholly asquerous regularize, a sad and overburdened word brought to you by the unregulated coiners.

Probably beatify isn’t going far enough, though. :)

The thing that does it is a normalizer, if you don’t care for canonizer or pope.

Solution 2:

In computing contexts, the standard verb is definitely canonicalize. Its agent noun is canonicalizer, though that's not as common as the verb itself.

Hence, from assorted RFCs and W3C technical reports:

To canonicalize an element including its namespaces, attributes, and content, the node-set must actually contain all of the nodes corresponding to these parts of the document, not just the element node. [link]

The "include" and "exclude" SigData fields modify the default behavior of the label canonicalizer. [link]

On first glance it would seem a simple enough exercise to canonicalize the XML encoded query and then insert it into the query portion of the URL. [link]

Any XML document, say X, processed by a canonicalizer, will produce an XML Document X'. [link]

However, designers of applications, protocols, or specifications are encouraged to use the information from the IANA Language Subtag Registry to support canonicalizing language tags and ranges in order to map grandfathered and obsolete tags or subtags into modern equivalents. [link]

(And, you didn't ask for this, but the action noun is canonicalization.)