(sort of a ramble...
i've not thought about content:)
so what was the original request? NO2 = no2 (fancily)...
(oh, co2, carbon dioxide vs. no2, nitrogen dioxide. had i used n2o, well that would have been funny)
Synonym Lists are -<instance> based.
(only noting cause i'd forgotten that, at first)
syn:, is my synonym for synonym
thoughts... maybe a "global" syn: table, in addition to <Instance-name>
based syn: table. so you could have a global, & then you could also
have syn: that are Instance based... that wouldn't make sense though,
would it? cause then you'd have to have the ability to exclude the
global table...
as is, syn: could be a (somewhat) replacement for grouping < group | ing >
having the ability to use; ww: case: nopath: <whatever they're called> would be nice
syn separator-char (seemingly) could be , or ; - though above only mentions ;
but, both , & ; are legal filename characters, so maybe it should be | ?
you might want a syn like < ; -) | wink >, which you cannot do, & is "invalid"
an "invalid" syn: is IGNORED entirely when searched for - ALL results are returned
- syn: wink,;-)
search: wink
result: ALL results are returned, as if you had not typed anything into the Searchbar
also: nonetheless, these invalid "terms" are embolden
- result: tWINKle tWINKle little star.mp3 & Wawusho Kubani - (Who Were You Talking to-).mp3
actually, in the /search/ you could limit things by using ww: or whatnot...
syn no2;claudia (.with. !PUNC enabled)
then in a search of ww:claudia it would find
prelude no2.mp3 & Putumayo - Coffee Lands - 02 - Soltarlo (Colombia) - Claudia Gomez.mp3
but would not find
Reign Ghost - Feat Lynda Squires - 01 - Long Day Journey No2 - 3.03.mp3
but not
00-the_black_keys-el_camino-2011.m3u
(probably not a good example, but no-2, even with !PUNC is not found by; ww:no2, where no2 is syn
- i have to revisit the CASE case too...
"Synonym lookup is case sensitive"... i've got to think about that...)
in any case, one may want only part of a search to be ww: & not the entirety
syn:
- Arizona;AZ
Kansas;KA
Maryland;MD
so a search of ww:kansas
finds
- 02 Ka Pya Chi.mp3
03 - Procol Harum - The Devil Came From Kansas.mp3
but not
- Melanie Safka - The saddest thing.mp3
(if a syn: could be ww:'d, ww:KA,
then what should a search of 'ww:KA' return?
would that be ww:ww:KA, which would be KA?
-
ww:kansas returns 'kansas'
noww:kansas returns both 'kansas' & arkansas
so...
noww: is the same as if you had not typed ww: at all...
syn: bomb,"wake up"
search: bomb
search: wake up
search: "wake up"
"quotes" are allowed
syn: badfinger;"sweet tu"
syn: winehouse;"wake up"
search: winehouse
finds: amy_winehouse-wake_up_alone.mp3 (winehouse)
finds: Amy Winehouse - Wake Up Alone.mp3 (winehouse, wake up)
finds: Amy Winehouse - wake-up-alone.mp3 (winehouse, wake-up)
search: "wake up" (with actual quotes)
finds: Amy Winehouse - Wake Up Alone.mp3 (winehouse, wake up)
finds: Amy Winehouse - wake-up-alone.mp3 (winehouse, wake-up)
syn: :: will cause anything that follows the :: to act as a REMARK
- syn: timebomb::"wake up"
- "wake up" is simply ignored in relationship to the /syn:/, though is found is a /search/
syn: ,, within a syn: will cause any syn: terms to be IGNORED in relationship to the /search/
syn: ;; within a syn: will cause any syn: terms to be IGNORED in relationship to the /search/
syn: ,; within a syn: will cause any syn: terms to be IGNORED in relationship to the /search/
syn: ;, within a syn: will cause any syn: terms to be IGNORED in relationship to the /search/
- syn: starlight,,shipwreck
search: starlight
result: ALL files are found (including, Prince of the Starlight.mp3)
search: shipwreck
result: ALL files are found (including, The Great Shipwreck Of Life.mp3)
syn: "terms" - within a syn:, terms with a <space> will be treated as a literal
- syn: wink:wake up
search: wink
result: Wake Up Alone.mp3
- but not, The_Wake-Up_Bomb.mp3 (where otherwise codepoints would have found it)
syn: "quotes" - syn: "terms" can be "quoted" & are also treated as a literal (with actual quotes)
syn: "quoted terms" - will find all the term synonyms
or
syn: unquoted terms - will not find all term synonyms - unless the "Search" is "quoted", in which case it will
- syn: wink:wake up
search: wake up
result: Wake Up Alone.mp3
- but not, Twinkle Twinkle Little Star.mp3
syn: wink:wake up
search: "wake up"
result: Wake Up Alone.mp3 & Twinkle Twinkle Little Star.mp3
syn: wink:"wake up"
search: "wake up"
result: Wake Up Alone.mp3 & Twinkle Twinkle Little Star.mp3
syn: "invalid terms" - are ignored
- syn: kansas;ww:KA;timebomb
search: kansas
result: Procol Harum - The Devil Came From Kansas.mp3 & Timebomb (Live - Jimmy Echo Vocal).mp3
- but not Glenn Miller - iknoWWhy.mp3 nor Xenomania-KommerTillbaKA.mp3
---
as an aside, back around .1230a, i had a thought - which i never mentioned here:
SYN:
synonyms
some sort of temporary feature where you can set up "pairs"
<brasil | brazil>
if SYN: is enabled brasil also find brazil & vice versa
<grosse | groBe>
likewise, you should be able to assign a shortcut to a syn, so:
bz: <brasil | brazil>
so a search for: rainforest bz:
finds: rainforest <brasil | brazil>
heh.
i guess that's what BOOKMARKS are for!
guess i ought to see how that works
also,
Can I set up a synonym for a search term?