RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::Abbreviations::Utils Namespace Reference

Functions

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinitiongetDefaultAbbreviations ()
 returns the default set of abbreviation definitions
 
RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinitiongetDefaultLinkers ()
 returns the default set of linker definitions
 
RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinitionparseAbbreviations (const std::string &text, bool removeExtraDummies=false, bool allowConnectionToDummies=false)
 parses a string describing abbreviation matches and returns the result
 
std::vector< AbbreviationDefinitionparseLinkers (const std::string &text)
 equivalent to calling parseAbbreviations(text,true,true)
 

Function Documentation

◆ getDefaultAbbreviations()

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::getDefaultAbbreviations ( )

returns the default set of abbreviation definitions

◆ getDefaultLinkers()

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::getDefaultLinkers ( )

returns the default set of linker definitions

◆ parseAbbreviations()

RDKIT_ABBREVIATIONS_EXPORT std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::parseAbbreviations ( const std::string &  text,
bool  removeExtraDummies = false,
bool  allowConnectionToDummies = false 
)

parses a string describing abbreviation matches and returns the result

Referenced by parseLinkers().

◆ parseLinkers()

std::vector< AbbreviationDefinition > RDKit::Abbreviations::Utils::parseLinkers ( const std::string &  text)
inline

equivalent to calling parseAbbreviations(text,true,true)

Definition at line 95 of file Abbreviations.h.

References parseAbbreviations().