<commit_before>.Dd June 25, 2021
.Dt LEDGER 5
.Os
.Sh NAME
.Nm ledger
.Nd transaction file
.Pp
.Sh DESCRIPTION
.Pp
A ledger transaction file is a list of transactions separated by at-least one
blank line. Each transactions consists of a date, payee, and one or more
postings. A posting is an indented line, consisting of an account, and
optionally, a value. Only one posting can be without value a value for each
transaction. The blank value posting receives the negated sum of all other
postings in the transaction.
.Pp
A single space is used as a delimeter between date and payee. Payee is the rest
of the transaction header line and can contain spaces.
Comments begin with ";" and continue for the rest of the line. Comments on
their own line attach to the next transaction in the file.
.Pp
Posting lines for accounts in a transaction must have at-least one whitespace<commit_msg>doc: transactions need 2 postings<commit_after>.Dd June 25, 2021
.Dt LEDGER 5
.Os
.Sh NAME
.Nm ledger
.Nd transaction file
.Pp
.Sh DESCRIPTION
.Pp
A ledger transaction file is a list of transactions separated by at-least one
blank line. Each transactions consists of a date, payee, and two or more
postings. A posting is an indented line, consisting of an account, and
optionally, a value. Only one posting can be without value a value for each
transaction. The blank value posting receives the negated sum of all other
postings in the transaction.
.Pp
A single space is used as a delimeter between date and payee. Payee is the rest
of the transaction header line and can contain spaces.
Comments begin with ";" and continue for the rest of the line. Comments on
their own line attach to the next transaction in the file.
.Pp
Posting lines for accounts in a transaction must have at-least one whitespace
{'fraction_non_alphanumeric': 0.03863381858902576, 'fraction_numerical': 0.0083986562150056, 'mean_word_length': 4.1203438395415475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5773826', 'n_tokens_mistral': 500, 'n_tokens_neox': 470, 'n_words': 303}