RubyFCA

Command line tool for Formal Concept Analysis (FCA) written in Ruby.

Features

  • Convert a Conexp’s CXT or CSV file and generate a Graphviz DOT file, or a PNG/JPG/EPS image file.

  • Adopt the Ganter algorithm (through its Perl implementation of Fcastone by Uta Priss).

Installation

Install the gem:

$sudo gem install rubyfca --source http://gemcutter.org

How to Use

rubyfca [options] <source file> <output file>

where:
<source file>
       "foo.cxt", "foo.csv"
<output file>
       "bar.dot", "bar.png", "bar.jpg", or "bar.eps"
[options]:
       --box, -b:   Use box shaped concept nodes
      --full, -f:   Do not contract concept labels
    --legend, -l:   Print the legend of concept nodes (disabled when using circle node shape) (default: true)
  --coloring, -c:   Color concept nodes (default: true)
  --straight, -s:   Straighten edges (available when output format is either png, jpg, or eps)
      --help, -h:   Show this message

ToDo

  • Database connection capability

under construction

Copyright © 2009-2012 Yoichiro Hasebe and Kow Kuroda. See LICENSE for details.