public class HNMRPredefinedKnowledgeBase extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
ALKANES_CH3 |
static String |
keyWordPrefix |
static String |
keyWordSeparator |
Constructor and Description |
---|
HNMRPredefinedKnowledgeBase() |
Modifier and Type | Method and Description |
---|---|
static HNMRKnowledgeBase |
getHNMRKnowledgeBase() |
static HNMRKnowledgeBase |
getHNMRKnowledgeBase(File file) |
static HAtomEnvironment |
parseHAtomEnvironment(String[] lines,
String errorPrefix,
List<String> errors) |
static void |
parseKeyWord(String keyword,
HAtomEnvironment haEnv,
String errorPrefix,
List<String> errors) |
static int |
parseLine(String line,
HAtomEnvironment haEnv,
String errorPrefix,
List<String> errors) |
static int |
parseRule2JLine(String line,
String errorPrefix,
HNMRKnowledgeBase knowledgeBase) |
static int |
parseRule3JLine(String line,
String errorPrefix,
HNMRKnowledgeBase knowledgeBase) |
static void |
postProcess(HAtomEnvironment haEnv,
String errorPrefix,
List<String> errors) |
public static final String keyWordPrefix
public static final String keyWordSeparator
public static final String[] ALKANES_CH3
public static HNMRKnowledgeBase getHNMRKnowledgeBase()
public static HNMRKnowledgeBase getHNMRKnowledgeBase(File file) throws Exception
Exception
public static HAtomEnvironment parseHAtomEnvironment(String[] lines, String errorPrefix, List<String> errors)
public static int parseLine(String line, HAtomEnvironment haEnv, String errorPrefix, List<String> errors)
public static void parseKeyWord(String keyword, HAtomEnvironment haEnv, String errorPrefix, List<String> errors)
public static void postProcess(HAtomEnvironment haEnv, String errorPrefix, List<String> errors)
public static int parseRule2JLine(String line, String errorPrefix, HNMRKnowledgeBase knowledgeBase)
public static int parseRule3JLine(String line, String errorPrefix, HNMRKnowledgeBase knowledgeBase)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.