smart_importer

81 views
Skip to first unread message

Martin Blais

unread,
Apr 17, 2018, 8:12:13 PM4/17/18
to Johannes Harms, Beancount
Works great on my credit card account!

Another way I'm finding I'd like to invoke this is by invocation of an Emacs binding to auto-complete one particular transaction based on a stored model.
Basically put the cursor over an incomplete transaction and have it be completed by the ML classification.
Just an idea.

Awesome work! :-)

Zhuoyun Wei

unread,
Apr 18, 2018, 7:38:40 AM4/18/18
to bean...@googlegroups.com, Johannes Harms
I got it working, as well. Currently I am using (hard-coded) Python
dict to add a second posting to an newly extracted transaction based on
Trasaction.narration.

This ML is the far more advanced technology!

(There is a bug: If there is a Balance entry, or any other
non-Trasaction entry in the entries returned by the importer, the ML
crashes with a cryptic traceback.)


2018-04-17 20:11:50 Martin Blais <bl...@furius.ca>:
> --
> 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+...@googlegroups.com.
> To post to this group, send email to bean...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/
> CAK21%2BhM-FDXwjM%2BtwCDDZUWpFyeFLBJpdtbVjbiF9VmqFT%2BD9A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
Zhuoyun Wei
signature.asc

Patrick Ruckstuhl

unread,
Apr 18, 2018, 12:37:19 PM4/18/18
to bean...@googlegroups.com, Zhuoyun Wei, Johannes Harms
Created https://github.com/johannesjh/smart_importer/issues/31 for this. We're already filtering the training data, forgot to also filter the ones where we do the predictions.

mpl...@gmail.com

unread,
Apr 18, 2018, 3:57:05 PM4/18/18
to Beancount
Smart importer inserts payees learned from previous transactions in beancount file?

So we are getting:

2013-12-11 * "WHOLEFDS HOU 10236 02124201320 / 042002720272124201320"
  Liabilities:US:CreditCard  -14.47 USD
  Expenses:Personal:Food

2013-12-14 * "MACY'S #003 HERALD SNEW YORK / 00307963916 MACY'S"
  Liabilities:US:CreditCard  -56.43 USD
  Expenses:Personal:Clothes

Instead of

2013-12-11 * "WHOLEFDS HOU 10236 02124201320 / 042002720272124201320"
  Liabilities:US:CreditCard  -14.47 USD

2013-12-14 * "MACY'S #003 HERALD SNEW YORK / 00307963916 MACY'S"
  Liabilities:US:CreditCard  -56.43 USD

which we get with default bean-extract command. Did i understand it right?

Patrick Ruckstuhl

unread,
Apr 18, 2018, 4:46:01 PM4/18/18
to mpl...@gmail.com, Beancount
Yes this is one way to use it. The other ways which are still in progress are about getting the list of possible candidates in fava
Reply all
Reply to author
Forward
0 new messages