パッケージ nlp4j.util

クラス ConsoleUtils


  • public class ConsoleUtils
    extends Object
    Utilities for Command Line Interface
    導入されたバージョン:
    1.3.1.0
    作成者:
    Hiroki Oya
    • コンストラクタの詳細

      • ConsoleUtils

        public ConsoleUtils()
    • メソッドの詳細

      • printHowToUse

        public static void printHowToUse​(String how_to_use,
                                         String[] args)
        パラメータ:
        how_to_use - of How to use CLI command
        args - input from CLI
      • parseParams

        public static Map<String,​List<String>> parseParams​(String[] args)
        input : ["-dir","/usr/local/nlp4j","-message","hello"]
        output : {"-dir":["/usr/local/nlp4j"],"-message":["hello"]}
        パラメータ:
        args - input
        戻り値:
        Map of parameters
        導入されたバージョン:
        1.3.1.0