# Configuration for ASCII (text) to ChordPro converter

# Strategy

Several strategies to recognize chords and lyrics lines are implemented by classifiers.

// Classification algorithm.
a2crd.classifier : pct_chords

The following classifiers are currently provided:

  • "pct_chords"
    Strategy is based on the percentage of chords recognized.

  • "classic"
    The legacy strategy.

Feel free to choose the strategy that yields the best results for your date.

Hint: You can do this on the command line with

chordpro --a2crd --define a2crd.classifier=classic ...

# Tab stop width

Tabs in the input source are replaced by an appropriate amount of spaces.

// Tab stop width for tab expansion. Set to zero to disable.
a2crd.tabstop : 8

# Infer titles and subtitles

The first non-empty, non-chord, non-directive lines are taken to be the song title and subtitle.

// Treat leading lyrics lines as title/subtitle lines.
a2crd.infer-titles : true

This is enabled by default, unless command line option --fragment is used.