/200-analyzer

A simple, spreadsheet-like layout analyzer

Primary LanguagePython

200-analyzer

analyzer

Commands

Usage: ./a200 [command] [args]

vw | view [layout(s)]

get a detailed view of a layout's metrics

tc | toggle column [column]

change the visibility of column(s) or set(s) of columns. Use all to toggle all columns

tl | toggle layout [layout]

change the visibility of layout(s)

st | sort [parameter]

order the results based on sort parameters. Parameters can be specified as either (-)parameter or (-)x%parameter, where a negative denotes sorting from low to high instead of high to low, and x denotes the percent weight of a given metric. If the weight of some parameters are unspecified, the weight will be divided equally among them

fl | filter [metric] [cutoff]

filter the results based on a metric, with a certain cutoff. Use -metric to get layouts below the cutoff, and metric to get layouts above the cutoff

sp | space [LT, RT, NONE]

change which type of thumb to press space with. LT and RT represent the left and right thumb, respectively. NONE will throw away all trigram data with space.

dt | data [data]

set the data to use in the analysis. [data] is the name of a file in the data/ directory.

tm | theme [theme]

set the color theme. [theme] is the name of a file in the themes/ directory.

cs | config save [filename]

saves the current config settings to a file in the configs/ directory

cl | config load [filename]

loads a config file from the configs/ directory

cc | cache clear []

clears the data cache

reset []

set the config to its default factory state

Demo

a short demo of the command usage