@Test public void testIndex() { fail("Not yet implemented"); }
public void index() throws IOException { words= new ConcurrentHashMap<>(); linkedHashMap= new ConcurrentHashMap<>(); linkedHashMapRoot= new ConcurrentHashMap<>(); InputStream inputStream= getClass().getResourceAsStream(StableData.WORDS_SOURSE_LINK_POS_CN_TO_CN); BufferedReader cReader= new BufferedReader(new InputStreamReader(inputStream, StableData.UTF8_STRING)); String cInputString; Here: while ((cInputString = cReader.readLine()) != null) { if(!(!cInputString.replace(StableData.SPACE_STRING, StableData.EMPTY_STRING).equals(StableData.EMPTY_STRING) && cInputString.split(StableData.NLP_SYMBO_SLASH).length > StableData.INT_ONE )) { continue Here; } words.put(cInputString.split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ZERO], cInputString .split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ONE]); linkedHashMap = loopLoadForest(cInputString); } cReader.close(); linkedHashMapRoot = new EuclidControllerImp().mCogsEuclid(linkedHashMap); }
FMHMMListImp implements FMHMMList { public void index() throws IOException { words= new ConcurrentHashMap<>(); linkedHashMap= new ConcurrentHashMap<>(); linkedHashMapRoot= new ConcurrentHashMap<>(); InputStream inputStream= getClass().getResourceAsStream(StableData.WORDS_SOURSE_LINK_POS_CN_TO_CN); BufferedReader cReader= new BufferedReader(new InputStreamReader(inputStream, StableData.UTF8_STRING)); String cInputString; Here: while ((cInputString = cReader.readLine()) != null) { if(!(!cInputString.replace(StableData.SPACE_STRING, StableData.EMPTY_STRING).equals(StableData.EMPTY_STRING) && cInputString.split(StableData.NLP_SYMBO_SLASH).length > StableData.INT_ONE )) { continue Here; } words.put(cInputString.split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ZERO], cInputString .split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ONE]); linkedHashMap = loopLoadForest(cInputString); } cReader.close(); linkedHashMapRoot = new EuclidControllerImp().mCogsEuclid(linkedHashMap); } }
FMHMMListImp implements FMHMMList { public void index() throws IOException { words= new ConcurrentHashMap<>(); linkedHashMap= new ConcurrentHashMap<>(); linkedHashMapRoot= new ConcurrentHashMap<>(); InputStream inputStream= getClass().getResourceAsStream(StableData.WORDS_SOURSE_LINK_POS_CN_TO_CN); BufferedReader cReader= new BufferedReader(new InputStreamReader(inputStream, StableData.UTF8_STRING)); String cInputString; Here: while ((cInputString = cReader.readLine()) != null) { if(!(!cInputString.replace(StableData.SPACE_STRING, StableData.EMPTY_STRING).equals(StableData.EMPTY_STRING) && cInputString.split(StableData.NLP_SYMBO_SLASH).length > StableData.INT_ONE )) { continue Here; } words.put(cInputString.split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ZERO], cInputString .split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ONE]); linkedHashMap = loopLoadForest(cInputString); } cReader.close(); linkedHashMapRoot = new EuclidControllerImp().mCogsEuclid(linkedHashMap); }  }
FMHMMListImp implements FMHMMList { public void index() throws IOException { words= new ConcurrentHashMap<>(); linkedHashMap= new ConcurrentHashMap<>(); linkedHashMapRoot= new ConcurrentHashMap<>(); InputStream inputStream= getClass().getResourceAsStream(StableData.WORDS_SOURSE_LINK_POS_CN_TO_CN); BufferedReader cReader= new BufferedReader(new InputStreamReader(inputStream, StableData.UTF8_STRING)); String cInputString; Here: while ((cInputString = cReader.readLine()) != null) { if(!(!cInputString.replace(StableData.SPACE_STRING, StableData.EMPTY_STRING).equals(StableData.EMPTY_STRING) && cInputString.split(StableData.NLP_SYMBO_SLASH).length > StableData.INT_ONE )) { continue Here; } words.put(cInputString.split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ZERO], cInputString .split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ONE]); linkedHashMap = loopLoadForest(cInputString); } cReader.close(); linkedHashMapRoot = new EuclidControllerImp().mCogsEuclid(linkedHashMap); }  @SuppressWarnings(StableData.RAW_TYPES) Map<Integer, Map> getRoot(); void index(); Map<Long, FMHMMNode> loopLoadForest(String cInputString); Map<Long, FMHMMNode> doNeroPostCognitive(FMHMMNode fFHMMNode, String cInputString, int i); Map<Long, FMHMMNode> doCheckAndRunNeroPostFix(FMHMMNode fFHMMNode, String cInputString, int i); Map<String, String> getWords(); Map<Long, FMHMMNode> getMap(); Map<String, String> getPosEnToEn(); Map<String, String> getEnToCn(); Map<String, String> getCnToEn(); void indexEnToCn(); void indexCnToEn(); Map<String, String> getPosEnToCn(); Map<String, String> getPosCnToCn(); void indexPosEnToCn(); void indexPosEnToEn(); void indexPosCnToEn(); Map<String, String> getPosCnToEn(); void indexFullEnToCn(); void indexFullCnToEn(); Map<String, String> getFullEnToCn(); Map<String, String> getFullCnToEn(); @Override List<String> englishStringToWordsList(String string); @Override void indexFullCnToJp(); @Override void indexFullCnToRs(); @Override void indexFullCnToAb(); @Override void indexFullCnToFn(); @Override void indexFullCnToGm(); @Override void indexFullCnToKo(); @Override void indexFullCnToSp(); @Override void indexFullCnToPy(); @Override Map<String, String> getFullCnToJp(); @Override Map<String, String> getFullCnToRs(); @Override Map<String, String> getFullCnToAb(); @Override Map<String, String> getFullCnToFn(); @Override Map<String, String> getFullCnToGm(); @Override Map<String, String> getFullCnToKo(); @Override Map<String, String> getFullCnToSp(); @Override Map<String, String> getFullCnToPy(); @Override void indexFullNegative(); @Override void indexFullPositive(); @Override Map<String, String> getFullNegative(); @Override Map<String, String> getFullPositive(); @Override Map<Long, FMHMMNode>[] getMaps(); @Override Map<Long, Map<String, String>> getWordsForests(); @Override void indexMixed(); @Override void studyNewPos(String string, String posStudy); @Override Map<String, String> getStudyPos(); }
FMHMMListImp implements FMHMMList { public void index() throws IOException { words= new ConcurrentHashMap<>(); linkedHashMap= new ConcurrentHashMap<>(); linkedHashMapRoot= new ConcurrentHashMap<>(); InputStream inputStream= getClass().getResourceAsStream(StableData.WORDS_SOURSE_LINK_POS_CN_TO_CN); BufferedReader cReader= new BufferedReader(new InputStreamReader(inputStream, StableData.UTF8_STRING)); String cInputString; Here: while ((cInputString = cReader.readLine()) != null) { if(!(!cInputString.replace(StableData.SPACE_STRING, StableData.EMPTY_STRING).equals(StableData.EMPTY_STRING) && cInputString.split(StableData.NLP_SYMBO_SLASH).length > StableData.INT_ONE )) { continue Here; } words.put(cInputString.split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ZERO], cInputString .split(StableData.NLP_SYMBO_SLASH)[StableData.INT_ONE]); linkedHashMap = loopLoadForest(cInputString); } cReader.close(); linkedHashMapRoot = new EuclidControllerImp().mCogsEuclid(linkedHashMap); }  @SuppressWarnings(StableData.RAW_TYPES) Map<Integer, Map> getRoot(); void index(); Map<Long, FMHMMNode> loopLoadForest(String cInputString); Map<Long, FMHMMNode> doNeroPostCognitive(FMHMMNode fFHMMNode, String cInputString, int i); Map<Long, FMHMMNode> doCheckAndRunNeroPostFix(FMHMMNode fFHMMNode, String cInputString, int i); Map<String, String> getWords(); Map<Long, FMHMMNode> getMap(); Map<String, String> getPosEnToEn(); Map<String, String> getEnToCn(); Map<String, String> getCnToEn(); void indexEnToCn(); void indexCnToEn(); Map<String, String> getPosEnToCn(); Map<String, String> getPosCnToCn(); void indexPosEnToCn(); void indexPosEnToEn(); void indexPosCnToEn(); Map<String, String> getPosCnToEn(); void indexFullEnToCn(); void indexFullCnToEn(); Map<String, String> getFullEnToCn(); Map<String, String> getFullCnToEn(); @Override List<String> englishStringToWordsList(String string); @Override void indexFullCnToJp(); @Override void indexFullCnToRs(); @Override void indexFullCnToAb(); @Override void indexFullCnToFn(); @Override void indexFullCnToGm(); @Override void indexFullCnToKo(); @Override void indexFullCnToSp(); @Override void indexFullCnToPy(); @Override Map<String, String> getFullCnToJp(); @Override Map<String, String> getFullCnToRs(); @Override Map<String, String> getFullCnToAb(); @Override Map<String, String> getFullCnToFn(); @Override Map<String, String> getFullCnToGm(); @Override Map<String, String> getFullCnToKo(); @Override Map<String, String> getFullCnToSp(); @Override Map<String, String> getFullCnToPy(); @Override void indexFullNegative(); @Override void indexFullPositive(); @Override Map<String, String> getFullNegative(); @Override Map<String, String> getFullPositive(); @Override Map<Long, FMHMMNode>[] getMaps(); @Override Map<Long, Map<String, String>> getWordsForests(); @Override void indexMixed(); @Override void studyNewPos(String string, String posStudy); @Override Map<String, String> getStudyPos();  }