orthonym.validation.spelling.checks_acid_cyanide#
Note
Internal API. Names and behaviour may change between releases.
Spelling check /: the cyanide of an oxoacid written as a nitrile (registered with
orthonym.validation.pin_spelling.register()).
“Seniority order for classes”, class 10 (the Blue Book): “Acid halides and pseudohalides [first in
the order of the corresponding acid… then in the following order of pseudohalogen groups (-N3 > -CN >…” comes before class 14 “Nitriles” (:18187). The cyanide of an acid R-E(=O)x-OH is therefore named by functional class, the name of the acyl group and the class word ‘cyanide’ “Acyl pseudohalides from suffix acids”,:31460; “Cyanides corresponding to the sulfur, selenium, and tellurium acids”,:34807, ‘methanesulfonyl cyanide (PIN)’:34811, ‘benzeneseleninyl cyanide (PIN)’:34813; “Acid halides and pseudohalides”,:35706, for the acids of the other central atoms). A name that writes the same C#N as the nitrile of a substituted methane (‘(benzenesulfinyl)methanenitrile’, ‘nitrosomethanenitrile’) is a valid name and not the PIN.
The structure side is a nitrile carbon whose other neighbour is a heteroatom E (S, Se, Te, N, P, As, Sb) with a terminal double-bonded oxygen, the central atom of an oxoacid group; the name side is the word ‘nitrile’. The check speaks only when EVERY C#N of the molecule is such a cyanide, so a name whose ‘nitrile’ belongs to another group is never lowered by it. The cyanides of the boron acids and silicic acid are named on the parent hydrides (:35706: ‘boranecarbonitrile’, ‘silanecarbonitrile’); an E without an oxo group is no acid centre here. No naming code, no OPSIN.
- orthonym.validation.spelling.checks_acid_cyanide.acid_cyanide_as_nitrile_check(mol, name)#
The name writes a ‘nitrile’ where every C#N of the molecule is the cyanide of an oxoacid.
- orthonym.validation.spelling.checks_acid_cyanide.nitrile_on_heteroatom_check(mol, name)#
“Substitutive and functional class names for nitriles” (the Blue Book): “The suffix ‘carbonitrile’ is always used to name nitriles having the -CN group attached to a ring or ring system or to an acyclic heteroatom” (‘silanecarbonitrile (PIN)’,:34722; ‘boranecarbonitrile (PIN)’,:37393). A name that writes the C#N of such a group as ‘methanenitrile’ with the heteroatom group as a prefix (‘(dimethylboranyl)methanenitrile’, ‘[dimethyl(phenyl)silyl]methanenitrile’) is a valid name, not the PIN.
Structure side: a nitrile carbon whose other neighbour is a heavy atom that is not carbon; name side: the word ‘methanenitrile’ (or ‘formonitrile’). A cyano group of a prefix (‘cyano’) writes neither word.