Re: Approximate String Searching

2022-10-03 Thread Jacob MacDonald
Thomas Passin wrote: > I thought this might be of interest to some people on the list. Here's a > link to the paper: > > APPROXIMATE MULTIPLE STRING SEARCH (Muth and Manber) The read was very interesting, but it looks like the linked paper is by Baeza-Yates and Navarro, and I see Manber mentione

Re: Leo is (and should be) complete

2022-10-03 Thread Thomas Passin
On Monday, October 3, 2022 at 10:08:07 AM UTC-4 uu86...@gmail.com wrote: > Hi Edward, thank you very much for your work! Leo is a great tool and > helps me in my daily life! > > Just in case if you're wondering that could be done next - let me propose > a few ideas. > > 1) Is it possible to mak

Re: Need help installing Leo on Windows

2022-10-03 Thread Thomas Passin
I'm puzzled by the long, complicated paths being reported. I've never seen paths like that, at least not on Windows computers. A typical path on my system would be C:\Users\tom\AppData\Roaming\Python\Python310\site-packages\leo\core None of those caches and strange numbers; none of that *P

Re: Leo is (and should be) complete

2022-10-03 Thread User User
Hi Edward, thank you very much for your work! Leo is a great tool and helps me in my daily life! Just in case if you're wondering that could be done next - let me propose a few ideas. 1) Is it possible to make Leo more easy to install? I'm struggling for a while with installation on Windows an

Bug in "Installing from sources (Windows)" pip install instruction

2022-10-03 Thread User User
Hi everyone, I'm struggling with Leo installation on Windows and failed pip install part of the process. As tbp1 explained in the parallel thread, I tried -editable parameter but should use --editable. Thanks once again tbp1! However, I copied this parameter from the Leo installation guide at

Re: Need help installing Leo on Windows

2022-10-03 Thread User User
Thank you very much! I used double dash and the installer worked successfully: ... Successfully built leo Installing collected packages: leo Attempting uninstall: leo Found existing installation: leo 6.6.4 Uninstalling leo-6.6.4: Successfully uninstalled leo-6.6.4 WARNING: The sc

Need help installing Leo on Windows

2022-10-03 Thread User User
Hi everyone, many thanks to Edward and the community for beautiful Leo. Need your help installing it on Windows. I usually work in Linux and install Leo successfully by downloading and unpacking leo-editor-6.3.zip and running launchLeo.py with gui=qt key. However, it did not work for me in Win

Re: Need help installing Leo on Windows

2022-10-03 Thread User User
I also tried to avoid cloud storage and whitespace issues by copying Leo to another folder, but it did not help either: C:\Users\user>pip install -editable C:\Users\user\Apps\Leo\leo-editor-6.3 ERROR: ditable is not a valid editable requirement. It should either be a path to a local project or a

Re: Need help installing Leo on Windows

2022-10-03 Thread User User
Update: trying to deal with whitespace in the path did not help: C:\Users\user>pip install -editable "C:\Users\user\OneDrive - User\Apps\Leo\leo-editor-6.3" ERROR: ditable is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr

Re: Need help installing Leo on Windows

2022-10-03 Thread Thomas Passin
This follows a very common convention. A single-letter parameter on the command line takes a single dash, longer parameters take a double dash. E.g., -h --help Some programs don't quite follow the convention (java, for example, understands java -version) but Python and Leo do. On Monday, Oc

Re: Need help installing Leo on Windows

2022-10-03 Thread Thomas Passin
I believe you need to type two dashes for the "editable" parameter: pip install --editable On Monday, October 3, 2022 at 7:23:41 AM UTC-4 uu86...@gmail.com wrote: > I also tried to avoid cloud storage and whitespace issues by copying Leo > to another folder, but it did not help either: >

Re: Approximate String Searching

2022-10-03 Thread Thomas Passin
On Monday, October 3, 2022 at 6:18:43 AM UTC-4 Edward K. Ream wrote: > On Sun, Oct 2, 2022 at 11:57 PM Thomas Passin wrote: > >> Here is a fairly easy way to search in a body of text for a string when >> there might be single-character errors in a pattern, like searching for >> "butterfly" but

Re: Approximate String Searching

2022-10-03 Thread Edward K. Ream
On Sun, Oct 2, 2022 at 11:57 PM Thomas Passin wrote: > Here is a fairly easy way to search in a body of text for a string when > there might be single-character errors in a pattern, like searching for > "butterfly" but the text has "budterfly". > or, I hope, doSomething vs. do_something. Thanks

Re: Approximate String Searching

2022-10-03 Thread jkn
Thanks for this - as it happens I was slightly musing on the current search capabilities with Leo just recently... J^n On Monday, October 3, 2022 at 5:57:29 AM UTC+1 tbp1...@gmail.com wrote: > Here is a fairly easy way to search in a body of text for a string when > there might be single-chara