New issue 257: Create a section classifier for new transactions
https://bitbucket.org/blais/beancount/issues/257/create-a-section-classifier-for-new

Martin Blais:

There's nothing like that in the Beancount codebase. I've thought about 
building something to automatically insert imported transactions in the right 
"section" (I personally use org-mode, where each section corresponds to an 
institution and its related group of accounts) but it's unclear whether that 
would generalize.

I think you could turn this into a simple classification problem. Given some 
syntax for splitting up an input file into sections (e.g., some regular 
expression matching on a title or separator), you now have groups of 
transactions and inputs. Somehow reduce this to a simple model for classifying 
which section an incoming transaction matches with highest probability and 
insert it there. Or more appropriately - since transactions are imported in 
groups - find the section that best matches all the transactions in the 
imported files and insert at the end there.


On Sun, Mar 11, 2018 at 12:28 PM, Michael Droogleever <droog...@gmail.com> 
wrote:
I believe it is against the design of beancount, but is there any existing code 
which attempts to add transactions to an existing beancount file. Assuming the 
entries in the file are grouped by asset account, it would need to append the 
entry to the subsection of entries all from the same account.

Responsible: blais

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180326203944.13249.94253%40celery-worker-109.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to