FCA4J v0.4.6
Data management

CONVERT

convert formal context file format

Usage

java -jar fca4j-cli.jar CONVERT <input> [<output-file>] [options]

Options

OptionDescription
-i <INPUT-FORMAT> supported formats are:
  • CXT (Burmeisters ConImp)
  • SLF (HTK Standard Latice Format)
  • XML (Galicia v3)
  • CEX (ConExp)
  • CSV (Comma separated values)
-o <OUTPUT-FORMAT> supported formats are:
  • CXT (Burmeisters ConImp)
  • SLF (HTK Standard Latice Format)
  • XML (Galicia v3)
  • CEX (ConExp)
  • CSV (Comma separated values)
-s <SEPARATOR> separator (CSV format only):
  • COMMA (default)
  • SEMICOLON
  • TAB
-timeout <SECONDS> set timeout for algorithm execution, in seconds
-v, --verbose print a final report of the algorithm execution

Examples

java -jar fca4j-cli.jar CONVERT ord6magic04.cxt ord6magic04.csv -s SEMICOLON

convert file "ord6magic04.cxt" in CXT format to file "ord6magic04.csv" in CSV format with a semicolon ";" as separator

java -jar fca4j-cli.jar CONVERT mycsv.tab -i CSV -s TAB myslf.txt -o SLF

convert from file "mycsv.tab" written in CSV format with tab as separator to file "myslf.txt" in SLF format

java -jar fca4j-cli.jar CONVERT mydata.cex -o XML

convert file "mydata.cex" (ConExp format) to standard output in XML(Galicia v3) format