Similarity - WDX plugin.

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
fenix_productions
Power Member
Power Member
Posts: 1953
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Similarity - WDX plugin.

Post by *fenix_productions » 2008-06-11, 15:05 UTC

Hi all.

I've created content plugin for showing strings similarity.

The basic calculations are made with file names and phrase specified in INI file. The purpose of this plugin is to make TC search more flexible via algorithms used in spell checking tools. I've started with Levenshtein distance and still adding / learning new algorithms.

You can use this plugin for custom columns view but the best way is to have it in mind during "Find files" procedure.

Whole package contains three important files:
- similarity.wdx - plugin itself,
- leven.ini - put it in your %COMMANDER_PATH%
- similarity.exe - add toolbar button with "?" parameter for it.

Because of TC doesn't inform content plugins about searched string I had to create additional tool for workaround. This tool (similarity.exe) writes down given parameter into INI file, which is later checked by a plugin.

Download:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/similarity.rar

PS. Long time no see for C/C++ so the code might be ugly ;)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
LonerD
Senior Member
Senior Member
Posts: 297
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Post by *LonerD » 2013-04-01, 20:45 UTC

Thanks for nise plugin.
Can anyone compile x64-version ? (sources in archive)
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2013-04-04, 09:24 UTC

Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
LonerD
Senior Member
Senior Member
Posts: 297
Joined: 2010-06-19, 20:18 UTC
Location: Donetsk

Post by *LonerD » 2013-04-07, 22:39 UTC

Flint
Thanks. It work perfectly.
Total Commander DreamLair - dream always, think totally, be the commander of you own life.

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2013-04-18, 08:44 UTC

The new version 0.02 is published. Compared to the test version above, INI file placement is now better suited for modern OS file system permissions. Besides, minor code optimizations were made.

Download links:
x32+x64 / mirror (447 Kb)
sources / mirror (23 Kb)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
fenix_productions
Power Member
Power Member
Posts: 1953
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions » 2013-04-18, 16:28 UTC

@Flint
Thank you for doing it.

BTW Could you also change fenixproductions.qsh.eu link (404) on this page to link to:
http://www.totalcmd.net/authors/4323297.html
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2013-04-21, 15:18 UTC

fenix_productions
Done.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

Post Reply