Package uk.ac.cam.ch.wwmm.opsin
-
Class Summary Class Description AmbiguityDetectionTest AtomTest BondTest CASToolsTest ComponentGeneration_AmbiguitiesAndIrregularitiesTest ComponentGeneration_MiscTest ComponentGeneration_ProcesslocantsTest ComponentGeneration_StereochemistryTest ComponentProcessorTest CycleDetectorTest DtdTest FragmentManagerTest FragmentTest FusedRingNumbererFunctionsTest FusedRingNumbererTest Tests that fused ring numbering is working as expected.HeteroAtomReplacementTest NameToStructure The "master" class, to turn a name into a structure.NameToStructureConfig Allows OPSIN to be configured e.g.NameToStructureConfigurationsTest NameToStructureTest OpsinResult Holds the structure OPSIN has generated from a name Additionally holds a status code for whether name interpretation was successfulOpsinWarning A warning generated by OPSIN while interpreting a name.
The specifics of the warning may be used to judge whether you want to accept the generated structure.ParserTest ParseRules Instantiate via NameToStructure.getOpsinParser() Performs finite-state allocation of roles ("annotations") to tokens: The chemical name is broken down into tokens e.g.ParseRulesResults A wrapper for the results from parsing a chemical name or part of a chemical name through ParseRulesParseTokens A "struct" containing data a possible tokenisation of a word in a chemical name.PolymerTest PreProcessorTest RadixTrieTest SMILESFragmentBuilderTest SMILESWriterTest SSSRTest StereochemistryTest StructureBuildingMethodsTest TokenizerTest VerifyFragmentsTest WordToolsTest -
Enum Summary Enum Description OpsinResult.OPSIN_RESULT_STATUS Whether parsing the chemical name was successful, encountered problems or was unsuccessful.
If the result is notOpsinResult.OPSIN_RESULT_STATUS.FAILURE
then a structure has been generatedOpsinWarning.OpsinWarningType The type of problem OPSIN encountered -
Exception Summary Exception Description NameToStructureException Thrown if OPSIN failed to initialiseParsingException Thrown during finite-state parsing.