aoptk.normalization.pubchem_api
Classes
Use PubChem API to normalize chemical names. |
Module Contents
- class aoptk.normalization.pubchem_api.PubChemAPI[source]
Bases:
aoptk.normalization.normalize_chemical.NormalizeChemicalUse PubChem API to normalize chemical names.
- normalize_chemical(chemical: aoptk.chemical.Chemical) aoptk.chemical.Chemical[source]
Use the PubChem API to normalize a chemical name.
This method may modify the given
chemicalinstance in-place by updating itsheadingattribute when a title is found in PubChem. The samechemicalinstance that is passed in is returned.