Package com.quui.chat.io

Examples of com.quui.chat.io.IO


        }
        Log.init(logFolder);
        long s = System.currentTimeMillis();
        try {
            String loc = topicFolder;
            IO io = new IO(loc + File.separator + topicFile);
            Vector<String> stopwords = io.getStopwords(loc + File.separator
                    + "stopwords");
            Vector<String> answerDummies = io.getStopwords(loc + File.separator
                    + "answer-dummies");
            if (wnLocation != null)
                new WNLookup().init(wnLocation);
            mind = new Mind(stopwords, io.getTopics(), io.getMap(),
                    answerDummies, wnLocation != null);
            Log.logger.info("mind init complete, took "
                    + (System.currentTimeMillis() - s) + " ms.");
        } catch (FileNotFoundException e) {
            e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.quui.chat.io.IO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.