Manual of Style API calls
Last updated
Was this helpful?
Last updated
Was this helpful?
The Unified Compliance Framework team have developed Application Programming Interface (API) calls to aid, and standardize, portions of this Manual of Style. These API calls can be found online . We will define their properties and use herein.
Given a term, this endpoint processes that term and suggests the standard way it should be entered into the UCF system according to a suite of rules in the ruleset. A number from 1-8 indicates which ruleset is to be applied:
Sentence case, plural, allow acronyms, allow lists: We have found that the following rules apply to UNSPSC Asset Categories through Types.
Title case, plural, allow acronyms, allow lists: We have found that the following rules apply to UNSPSC Asset Segments.
Title case, singular, allow acronyms: We have found that the following rules apply to UNSPSC Products, Services, and Product Versions. Note that there are no spell checks for these terms as sometimes non-standard spelling in product and service names is undertaken by the product or service vendor on purpose.
Lower case, singular, present tense, disallow acronyms: These rules are to be used for common verbs, nouns, adjectives, etc. Note that we are replacing all special characters with ASCII values (if at all possible) to aid the user in searching for these terms without having to learn special characters such as À or Æ.
Lower case URL, disallow acronyms: These rules are to be used when entering URLs. Because URLs can be about anything, there are no rules for lemmatization or spelling.
CPE names: These are specialized names that follow the Common Product Enumeration guide-lines set by the US’ National Institute of Standards and Technology.
Roles, Group Names, and Titles: When entering an individual’s title, the name of a group, or a role that can be assigned to someone, follow these rules.
This endpoint returns the base lemma for the entered term or phrase. Lemmatizing just the last word in a phrase is also possible.
This endpoint will check the grammar and spelling of text and return suggestions of improvements or fixes.