<commit_before>/**
NOTE: Simple oxyanions are generated from oxyanions/3 declarations, located with the element definitions.
TODO: Allow symbols for polyatomic groups to be given in human-readable notation, instead of internal format.
**/

%%%%% Anions %%%%%
cl_poly(group([["N",1],["H",4]],"ammonium","ammonium")).
        charge([["N",1],["H",4]],1).

cl_poly(group([["Hg",2]],"mercury(I)","mercury(I)")).
	charge([["Hg",2]],2).

cl_poly(group([["H",3],["O",1]],"hydronium","hydronium")).
	charge([["H",3],["O",1]],1).

%%%%% Cations %%%%%
cl_poly(group([["O",1],["H",1]],"hydroxide","hydrox")).
        charge([["O",1],["H",1]],-1).

cl_poly(group([["C",1],["N",1]],"cyanide","cyan")).
        charge([["C",1],["N",1]],-1).

cl_poly(group([["S",1],["C",1],["N",1]],"thiocyanate","thiocyan")).
        charge([["S",1],["C",1],["N",1]],-1).
<commit_msg>An odd one. Does not work correctly, either.<commit_after>/**
NOTE: Simple oxyanions are generated from oxyanions/3 declarations, located with the element definitions.
TODO: Allow symbols for polyatomic groups to be given in human-readable notation, instead of internal format.
**/

%%%%% Anions %%%%%
cl_poly(group([["N",1],["H",4]],"ammonium","ammonium")).
        charge([["N",1],["H",4]],1).

cl_poly(group([["Hg",2]],"mercury(I)","mercury(I)")).
	charge([["Hg",2]],2).

cl_poly(group([["H",3],["O",1]],"hydronium","hydronium")).
	charge([["H",3],["O",1]],1).

cl_poly(group([["C",1],[[["N",1],["H",2]],3]],"guanidinium","guanidinium")).
	charge([["C",1],[[["N",1],["H",2]],3]],1).

%%%%% Cations %%%%%
cl_poly(group([["O",1],["H",1]],"hydroxide","hydrox")).
        charge([["O",1],["H",1]],-1).

cl_poly(group([["C",1],["N",1]],"cyanide","cyan")).
        charge([["C",1],["N",1]],-1).

cl_poly(group([["S",1],["C",1],["N",1]],"thiocyanate","thiocyan")).
        charge([["S",1],["C",1],["N",1]],-1).

{'fraction_non_alphanumeric': 0.34712520150456744, 'fraction_numerical': 0.03815153143471252, 'mean_word_length': 6.889830508474576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '187504', 'n_tokens_mistral': 782, 'n_tokens_neox': 753, 'n_words': 97}