coflandscaper.guess_symbol

coflandscaper.guess_symbol(raw)[source]

Guess a chemical symbol from a CIF-like raw token.

Parameters:

raw (str) – Raw symbol or label text.

Returns:

Normalized element symbol if recognized, else None.

Return type:

str | None