[tw5] Re: Collapsible TOC based on first characters of tiddler title

2018-12-14 Thread TonyM
Daemon

Without access to your data it is hard to map a usefull breakdown structure to 
apply. 

Could you describe what they are?

Is there any other ways you do or can subdivide your tiddlers?

This may be a case of where search is best used to first reduce the size of the 
set before placing it in an alphabetical index.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f67e4d5b-0350-4eca-9037-6380631d1a65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css Stylesheet for table: Background-color for only specific cells

2018-12-14 Thread TonyM
Suyra

You could wrap the contents of a cell in

@@.class contents@@ define class in a stylesheet tiddler.

Personaly I use html tables with a list widget to generate rows, and within 
that a list to generate columns/cells. Then this allows me to change styles 
with some logic where I need it.

I hope this leads to a solution.

Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61d7c961-d58d-470f-9d07-72e77a84afab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Custom fields and special characters

2018-12-14 Thread TonyM
Santi,

You may be able to use the uni-link plugin to have an alias in addition to 
caption for your accented names. 

As you suggested a datatiddler as a dictionary with unaccented and accented 
items. You could build a macro that displays any word with an entry using the 
accented version.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e1091ae4-c782-4a9e-819b-eb4d90b9852c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Searching Tiddlers with transcluded content

2018-12-14 Thread TonyM
Emily and S S

Especially when it comes to intrinsically related data, I tend to start 
with a body of text and excise it, into our partial-tiddler(s) not only 
will the excise replace it but It also tags the new tiddler with the title 
of where is was excised from.

Thus if I was to search for something and it is found in a particular 
tiddler, then what that tiddler is tagged with is likely where I will find 
it transcluded as well.

Since the excise uses the transclusion of 
{{partial-tiddler}}

Your search could also be extended to the above string just on finding your 
partial-tiddler name.

When you use list and other methods to transclude content, this is 
presumably done using tags or values in fields, as long as you set yourself 
a standard it will be possible to find the information you need in the 
partial-tiddler to find the places in which it is referenced. For example 
you could use the new subfilter operator and a define to create a filter 
containing [subfilter] and then you could search for the use 
of "". Set up some subfilters you use exclusively for the 
types of transclusions you are doing and searching from them will reliably 
return what you are after. 

In my consolidating tiddler, or a version of it, I place links to the 
transcluded tiddlers so so I can come back the other way. Ie Open the 
consolidated tiddler, search in the browser window, locate the link to the 
partial tiddler and open it.

You could have a consolidated tiddler, designed just to identify the 
partial-tiddlers(s) from which something comes.

<$list filter="[tag[Essentials and Desirables]sort[created]]">
{{!!title}} {{||$:/core/ui/Buttons/edit}}
<$transclude mode="block"/>
{{!!print-footer}}

The above transcludes all tag[Essentials and Desirables] and provides an 
edit link to each


Regards
Tony


On Saturday, December 15, 2018 at 5:23:28 AM UTC+11, S. S. wrote:
>
> Emily, there was a discussion some months ago which may shed some (very 
> dim) light : Backlinking' transclusions ? 
> 
>
> --
>
> The rest of this is not an answer - just some thoughts relating to the 
> question.
>
> As I create more and more "written" material, I keep running against this 
> "smallest semantic unit" - and "small tiddlers re-used by transclusion."
>
> My constant concern is, when I want to find that "written" material, will 
> I be able to find it in its proper context (with the other main material of 
> which it is a part) - quickly, easily, and without fail.
>
> For example, I take an excerpt of a few paragraphs from a book by one 
> author and put it in a tiddler. Within that excerpt is a quote from another 
> book with another author. If I put the quote in a second tiddler and 
> transclude it back into the first tiddler, I would need a way to know 
> later, which tiddler has transcluded this second tiddler, as a search will 
> find the quote in the second tiddler, but in itself, without its context, 
> this quote is useless.
>
> I may be able to find its place by searching for the literal " {{second 
> tiddler}} ". But what if the transclusion is done by a macro, or 
> <$transclude .../>, or <$list filter=" ... "/>
>
> One solution would be to have a "related" field in the second tiddler (or 
> maybe first tiddler?) that is manually updated each time it is transcluded, 
> but this is more cumbersome to do than first imagined.***See the note 
> below
>
> To avoid this happening, whenever I have material that I expect may need 
> to be searched for and found within its proper context - and I cannot find 
> a way to "safely" transclude it - I do not separate it into a smaller unit. 
> I keep it within its context no matter how big the tiddler becomes.
>
> I have a feeling this philosophy I am using is inherently wrong. Perhaps 
> one day I will understand a better way of doing it.
>
>
>
> *** Note:
> Automagically keeping track of related tiddlers 
> 
> Handling Changing Relationships Between Tiddlers 
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c044653-8020-4f6f-aa42-806f32d93b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] How to "generate" filter?

2018-12-14 Thread TonyM
Bimlas,

What about a local or Global macro like this

\define output-filter() [tag[Filter Operators]first[5]]


<$list-links filter:"[subfilter">>
This has no need to terminate the set widget and uses a lot less text where 
used, if you choose a good name for "output-filter" it will read even 
better.

here I have requested 
an alias for the subfilter operator so you could write;
<$list-links filter:"[filter">>


Regards
Tony


On Saturday, December 15, 2018 at 3:42:09 AM UTC+11, bimlas wrote:
>
> @Mark:
>
> I understand what you think and agree, the <$set> is a good solution - 
> just found for a couple of hours ago, I used <$vars> earlier, but it was 
> not able to store the filter output.
>
> <$set name="output" filter="[tag[Filter Operators]first[5]]"> 
>  
> Text of variable: <$text text=<>/> 
>  
> List of titles: <$macrocall $name="list-links" filter=<>/> 
>  
> 
>
> @Jeremy:
>
> I understand, so the issue it's not the use of <$ wikify>, but it's 
> unanticipated consequences. Thanks!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e115ddbf-5a0b-406f-ab7c-c0c390a82ea0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css Stylesheet for table: Background-color for only specific cells

2018-12-14 Thread 'Surya' via TiddlyWiki
Please can anybody help me with this??
I really need that for the visitors of my page.
With the coloured cells they will automatically know, where they should 
edit a value, and where not. And where is what kind of result.

I tried to do that only with coloured rows & columns, but it looks really 
weird and confusing.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d4568082-777a-4c8c-977d-093e4e7a4ffd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Slightly OT] Jeremy speaking at CodeMesh, London 8/9th November 2018

2018-12-14 Thread 'Marcel Otto' via TiddlyWiki
Am Dienstag, 11. Dezember 2018 19:03:30 UTC+1 schrieb Joe Armstrong:
>
> Thinking out loud here ...
>
> I've been thinking more about tags. One problem is that tags are rather 
> vague and are written in different human languages.
>
> One way out of this might be to adopt the wikidata word definitions. For 
> example, I am, unambiguously
>
> https://www.wikidata.org/wiki/Q1691321 
> 
>
> There are actually several Joe Armstrong's (for example, 
> https://www.wikidata.org/wiki/Q712592)
>
> These Q numbers uniquely define subjects and objects. Verbs (or 
> predicates) are given by P numbers
> so https://www.wikidata.org/wiki/Property:P178 means "the organisation or 
> person who developed the item.
>
>
I really like this idea. The natural-language tags of a TiddlyWiki could be 
linked to global URIs (like the ones from Wikidata) by adding a context to 
a TiddlyWiki in the same way JSON-LD adds a @context to JSON documents to 
give globally understandable meaning to application-specific property 
identifiers: https://en.wikipedia.org/wiki/JSON-LD
 

> in RDF speak the triple
>
> {https://www.wikidata.org/wiki/Q1144644, 
>   https://www.wikidata.org/wiki/Property:P178, 
>   https://www.wikidata.org/wiki/Q17031730}
>
> (BTW I recommend clicking on these links and playing around - there's lots 
> of interesting
> data in RDF tuples and the above links are a good place to start looking)
>
> Means "TiddlyWiki developer Jeremy Rushton"
>
> These triples encode facts in a hopefully reasonably clear manner.
>
> So now the N$ question - can we automatically analyse a tiddler and turn 
> it into a set
> of RDF tuples. If we could then we could add these to the huge databases 
> of RDF tuples
> and possible find stuff in a clever way.
>
>
That would be a very ambitious endeavor as it would require solutions to 
two very hard problems: 

1. The long-standing research problem of entity recognition and linkage: 
https://www.stardog.com/blog/entity-linking-in-the-knowledge-graph/
2. Connecting the recognized entities semantically properly. For example, 
how would you detect from the sentence "Jeremy Ruston started the 
TiddlyWiki project in 2004." to use the 
https://www.wikidata.org/wiki/Property:P178 property?

Regarding the first problem, which would already solve your initial tag 
ambiguity problem, research has led to quite some progress. This library, 
for example, offers a solution in 
JavaScript: https://github.com/spencermountain/compromise

The filter notation in the tiddlywiki reminds me very much of prolog, and I 
> guess with a but of
> work SPARQL queries might be possible (SPARQL is an RDF query language)
>

Even without a solution to the mentioned second problem (allowing to 
generate proper RDF triples like the one you mentioned), we could already 
do interesting SPARQL queries with recognized Wikidata entities for content 
tags. We could for example query for all tiddlers tagged with a computer 
scientist and would get the tiddlers tagged with "Jeremy Ruston". A SPARQL 
engine for in-memory data in JavaScript can be found here: 
https://github.com/antoniogarrote/rdfstore-js (I can't resist to also 
mention that a SPARQL engine also exists for the BEAM: 
https://github.com/marcelotto/sparql-ex ;-))

Cheers
>
> /Joe
>
>
Cheers,

Marcel 
 

>
>
>
> On Monday, 10 December 2018 17:43:01 UTC+1, @TiddlyTweeter wrote:
>>
>> One of the things that interests me a lot that the talk raised a bit--and 
>> which no one seems to know how to answer is ... :-)
>>
>> - WHAT exactly is an SU (Semantic Unit) in TW writing (or computing 
>> writing In General, for that matter)?
>>
>> There is a kind of rule of thumb "its maybe a paragraph"? But, of course 
>> that won't quite work for the one-sentence brevity of a Nietzsche.
>>
>> Its obviously highly context dependent. And I doubt much of that context 
>> lives on the computer itself.
>>
>> The idea in TW towards writing "the shortest semantic whole possible" 
>> (the word "fragment" here that is thrown around has muddied waters; they 
>> are not fragments so much as whole-parts-of-wholes) allows for later 
>> re-combinations to form more complex semantics. 
>>
>> However, I think its bit of an, ultimately, moot and mute point, in the 
>> sense that human meaning is often an interaction with technologies of 
>> expression themselves (though no where ever fully defined by them). So its 
>> an area of intuited understanding, not formal logic? On the other hand, 
>> who's offering the horse which water?
>>
>> Josiah
>>
>> On Monday, 10 December 2018 12:49:14 UTC+1, PMario wrote:
>>>
>>> Hi, 
>>>
>>> Here's the video: 
>>> https://www.youtube.com/watch?v=Uv1UfLPK7_Q=9=PLvL2NEhYV4ZtWFBNOrApXaIoCTtj-yk7Y
>>>
>>> have fun!
>>> mario
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To 

[tw5] Re: Collapsible TOC based on first characters of tiddler title

2018-12-14 Thread Damon Pritchett
So after looking closely at my titles and considering a bit further, I 
believe that my original idea of doing this will not really solve my 
problem. There are a large number of tiddlers whose title is the same for 
up to 10 or 12 characters. I need to rethink a better way to navigate 
through all of the choices without creating a lot of clutter or a huge 
scrolling list. I am very open to suggestions.

Damon


On Friday, December 14, 2018 at 9:27:46 AM UTC-7, Mark S. wrote:
>
> In the filter that starts "[all[tiddlers]..." you can append your own 
> specific tag operator.
>
> I assume that once you've stamped the 1800 tiddlers that you will do new 
> ones by hand. I guess you could run the whole thing again if you had a lot 
> of new tiddlers you were adding all at once.
>
> I'm kind of hoping someone will pop up with "here's an easy way to get the 
> first 3 letters of a title in uppercase." ;-)
>
> -- Mark
>
> On Friday, December 14, 2018 at 8:16:31 AM UTC-8, Damon Pritchett wrote:
>>
>> Thanks Mark. I've got some questions before I try this. How much would it 
>> complicate things if I only wanted to perform this operation on tiddlers 
>> with a specific tag? Also, with the delay that you've mentioned, is this 
>> only for the first time it's run or every time I add a new tiddler?
>>
>> Thanks,
>>
>> Damon
>>
>>
>> On Thursday, December 13, 2018 at 10:23:33 PM UTC-7, Mark S. wrote:
>>>
>>> Ok. Here's code that should be able to do it.
>>>
>>>
>>> *But PLEASE make a backup of your work before trying this IT'S 
>>> REALLY IMPORTANT! THIS MACRO MAY CHANGE EVERY TIDDLER IN YOUR TW FILE!!*
>>>
>>> There are several caveats here.
>>>
>>> One is that *every eligible tiddler will have it's modification date 
>>> changed.*
>>>
>>> Do this on a desktop, not on a tablet or small device!
>>>
>>> Another, when you first save the tiddler with the button, there may be a 
>>> delay. You may be asked if you want to keep waiting. You need to keep 
>>> waiting.
>>>
>>> When you finally press the button, there will be even longer delays 
>>> while it processes. You will probably be asked several times if you want to 
>>> wait for the page before the process completes. It typically took 2 to 3 
>>> "waits" on tiddlywiki.com, and there's only 1100 tiddlers there!
>>>
>>> I strongly recommend that you close out any tabs you don't need. In 
>>> fact, be sure all your work in all your applications is saved in case the 
>>> browser hangs the machine.
>>>
>>> At the top of the code you can set a value for min-per-group. This is 
>>> the minimum number of tiddlers you want before creating its own group 
>>> entry. Paste the code into a tiddler and close the tiddler. Then, if you're 
>>> sure you want to, press the button.
>>>
>>> The reason this code is so inefficient is that it is generating all 
>>> 17576 possible combinations of 3 letters and checking to see if any of your 
>>> tiddlers match by title. A much more efficient code could have been written 
>>> with just a tiny bit of javascript. Oh well.
>>>
>>> Be careful!
>>> Have fun -- if you can!
>>>
>>> -- Mark
>>>
>>> \define min-per-group() 10
>>> \define ABC() A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
>>> \define xABC() A B C D E F
>>> \define regexpABC() (?i)^$(letr1)$$(letr2)$$(letr3)$
>>> \define glueABC() $(letr1)$$(letr2)$$(letr3)$
>>>
>>> <$button> Create alphabetical TOC structure
>>><$list filter="[enlist]" variable=letr1>
>>><$list filter="[enlist]" variable=letr2>
>>><$list filter="[enlist]" variable=letr3>
>>><$list filter=
>>> "[all[tiddlers]!has[draft.of]regexprestlimit[1]]" 
>>> variable="dummy">
>>><$action-setfield $tiddler=<> tags=<> /> 
>>><$list filter="[all[tiddlers]regexp]" >
>>>   <$fieldmangler>
>>> <$action-sendmessage $message="tm-remove-tag" 
>>> $param=<>/>
>>> <$action-sendmessage $message="tm-add-tag" $param=<>> >>/>
>>>   
>>>
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90650f23-209b-4ddc-aa7d-c52b20ea8925%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to "generate" filter?

2018-12-14 Thread Jeremy Ruston
Hi Mohammad

> Storing the results of a list (filter) operation! It can be used in many ways!

If you’re storing the list that results from evaluating a filter then you can 
use the set widget: <$set name=foo filter=[tag[mytag]]>; you can use the 
resulting list with the new “enlist” operator.

The trick with wikify is only needed if you are dynamically building a filter 
string for later evaluation.

Best wishes

Jeremy


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/98DB6EB2-AF5A-4084-8517-5BB66F57938D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: convert filtered list into hard copy?

2018-12-14 Thread Dave
Oh, ha ha, I just spotted something and now it works if you change 
text=<>

to

text=<>

in the second macro

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f557a4ec-cf95-4ab2-92fa-5dfe15dbe705%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: convert filtered list into hard copy?

2018-12-14 Thread Dave
Hi Tony,

Yes, your example definitely works, but there must be something about how 
the second macro...
\define mybutton()
<$wikify name=mytext text=<>>
<$action-setfield 
$tiddler="myErrands"
   tags="hardcopies"
text=<>
/>


\end

processes the first macro...
\define mymegatext()


<$list 
filter="[!tag[exclude]!tag[done]has[priority]tag[errands]sort[priority]limit[20]]">
<$view field=title/>



\end

that somehow changes the formatting - weird...





On Thursday, December 13, 2018 at 6:48:35 PM UTC-7, TonyM wrote:
>
> Sorry,
>
> I see I am trying to take this further than the OP Original post. 
>
> I want the wikified or is that HTML version to be saved in the hardcopy.
>
> Regards
> Tony
>
> On Friday, December 14, 2018 at 12:25:15 PM UTC+11, TonyM wrote:
>>
>> Dave,
>>
>> Thats Odd
>>
>> For example this works
>>
>> \define test()
>> 
>> <$list filter="[all[shadows+tiddlers]tags[]prefix[$:/]sort[title]]">
>> {{||$:/core/ui/TagTemplate}}
>> 
>> 
>> \end
>>
>> <>
>>
>> Regards
>> Tony
>>
>> On Friday, December 14, 2018 at 10:14:42 AM UTC+11, Dave wrote:
>>>
>>> Mark, I'm just happy that I'm finally able to have figured it out on my 
>>> own, ha ha.  Thanks so much (for doing the heavy lifting)!!
>>>
>>> Tony, thanks, but that doesn't seem to change anything
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/42d988ef-3e59-4227-9eff-e3365b379d7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [Slightly OT] Jeremy speaking at CodeMesh, London 8/9th November 2018

2018-12-14 Thread Alex Hough
https://babelnet.org/ == many languages


On Fri, 14 Dec 2018 at 13:21, @TiddlyTweeter 
wrote:

> Alex
>
> Is it in many languages?
>
> J, x
>
> On Friday, 14 December 2018 13:39:23 UTC+1, AlexHough wrote:
>>
>> Mario,
>>
>> " a mechanism, that would suggest "meaningful tags" by analysing the
>> prose text(s). ... but it needs to work without a 3rd party server. It
>> should be integrated into TW. ... Is this possible?"
>>
>> Wordnet [1] might be useful.
>>
>> WordNet® is a large lexical database of English. Nouns, verbs, adjectives
>> and adverbs are grouped into sets of cognitive synonyms (synsets), each
>> expressing a distinct concept. Synsets are interlinked by means of
>> conceptual-semantic and lexical relations. The resulting network of
>> meaningfully related words and concepts can be navigated with the browser
>> . WordNet is also freely and
>> publicly available for download .
>> WordNet's structure makes it a useful tool for computational linguistics
>> and natural language processing.
>>
>>
>> I use it a lot to find words at higher or lower levels of abstraction. It
>> would be wonderful if, when tagging, words from Wordnet were suggested...
>>
>> Alex
>>
>> [1] https://wordnet.princeton.edu/
>>
>> On Thu, 13 Dec 2018 at 11:58, PMario  wrote:
>>
>>>
>>> On Wednesday, December 12, 2018 at 5:54:41 PM UTC+1, Joe Armstrong wrote:
>>> ...
>>>
 What I did was to use Baysian inference to "learn" the relationship
 between the words in the text and the supplied tags - so for each word in
 the text I caculate the probability that the tiddler has tag  (forall
 known tags ) - then in a second pass I tested the model and predicted
 the tags from the text. This way I could correctly predict about 80% of the
 tags from the text alone. The problem was that, to me, many of the tags
 were meaningless and were used internally to organise the TW.

>>>
>>> That's interesting. ... But I think this has some "evolutionary" causes.
>>>
>>> I think, it hasn't always been that way. Open classic.tiddlywiki.com
>>> ... You'll see wikipedia-like tag-box in every tiddler. ... The UI isn't
>>> "nice" with tags here. .. So a very common question in the group was: "How
>>> can I switch this box off?"
>>>
>>> I personally prefer something that's called "TagglyTagging" (... oh we
>>> love those weird names :) I think TagglyTagging was introduced with MPTW
>>>  (Monkey Pirate TiddlyWiki).
>>> For me it was a completely new way to work with tiddler titles. ... TT is a
>>> set of plugins, that allows you to visualize the relation between different
>>> tiddlers ... It speeds up navigation between related tiddlers, in a very
>>> convenient way. ... The "sitemap" view is what we call TOC (Table of
>>> Content) in TW5 now.
>>>
>>> An other plugin, that imo influenced TW5 was: the fET-plugin (for each
>>> tiddler) .
>>> It allows *users *to iterate over the tiddler store and *create *many
>>> types of "*list-views*". This plugin was highly influential for the TW5
>>> list-widget, and <> macros that we have today.
>>>
>>> Both of those systems (mis)use tags to create internal structure,
>>> because the tagging mechanism *was and is* highly optimized. Both in
>>> the core-software and the UI. The core uses several caches to speed up tag
>>> and "backlink" lookups. ... We do have fields and filters, that are able to
>>> create invisible internal structure. But none of those possibilities offer
>>> the performance and "ease of use" from the UI perspective.
>>>
>>> In my opinion the TF*IDF were better than the assigned tags since they
 had nothing
 to do with the organisation, but more to do with the actual words in
 the text.

>>>
>>> For me it would be very interesting to have a mechanism, that would
>>> suggest "meaningful tags" by analysing the prose text(s). ... but it needs
>>> to work without a 3rd party server. It should be integrated into TW. ... Is
>>> this possible?
>>>
>>> have  fun!
>>> mario
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/90d0b5a8-88b2-4489-ac3d-ed724f08b01c%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups

[tw5] Re: Custom fields and special characters

2018-12-14 Thread 'Mark S.' via TiddlyWiki
 You might consider re-posting this as "Custom fields using Jed's Dynamic 
Tables".  Otherwise he might miss it in the daily mail.

I looked at his code -- another masterpiece, of course -- and it looks like 
it would be possible to make some small changes that would pull captions 
from a data dictionary. It would involve adding one small macro (e.g. 
ThisFieldCaption) and then replacing it wherever <> is used for 
display (but NOT where it is used for input). I don't know if that is a 
complete solution (it worked with "Simple Tables") so, as I said, you might 
post this so Jed will be sure to see it.

Good luck!
-- Mark

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e1bbf1e-57b3-4562-83e2-5af610e50b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Searching Tiddlers with transcluded content

2018-12-14 Thread S. S.
Emily, there was a discussion some months ago which may shed some (very 
dim) light : Backlinking' transclusions ? 


--

The rest of this is not an answer - just some thoughts relating to the 
question.

As I create more and more "written" material, I keep running against this 
"smallest semantic unit" - and "small tiddlers re-used by transclusion."

My constant concern is, when I want to find that "written" material, will I 
be able to find it in its proper context (with the other main material of 
which it is a part) - quickly, easily, and without fail.

For example, I take an excerpt of a few paragraphs from a book by one 
author and put it in a tiddler. Within that excerpt is a quote from another 
book with another author. If I put the quote in a second tiddler and 
transclude it back into the first tiddler, I would need a way to know 
later, which tiddler has transcluded this second tiddler, as a search will 
find the quote in the second tiddler, but in itself, without its context, 
this quote is useless.

I may be able to find its place by searching for the literal " {{second 
tiddler}} ". But what if the transclusion is done by a macro, or 
<$transclude .../>, or <$list filter=" ... "/>

One solution would be to have a "related" field in the second tiddler (or 
maybe first tiddler?) that is manually updated each time it is transcluded, 
but this is more cumbersome to do than first imagined.***See the note below

To avoid this happening, whenever I have material that I expect may need to 
be searched for and found within its proper context - and I cannot find a 
way to "safely" transclude it - I do not separate it into a smaller unit. I 
keep it within its context no matter how big the tiddler becomes.

I have a feeling this philosophy I am using is inherently wrong. Perhaps 
one day I will understand a better way of doing it.



*** Note:
Automagically keeping track of related tiddlers 

Handling Changing Relationships Between Tiddlers 


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/131db25b-4d5b-4e0f-a3d3-3714f12b9f18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to "generate" filter?

2018-12-14 Thread Mohammad
This is wonderful!
Storing the results of a list (filter) operation! It can be used in many 
ways!
like passing to a macro or use in sub-operation. 


--Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/58ef5f13-7c83-4f97-8341-47b2efdc55da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: append to list field of a tiddler and count them

2018-12-14 Thread Mohammad
Thank you Mark!
 So I need to wrap the code inside some triggering widgets.


Cheers
Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86dffd5f-ac50-41e1-a243-633c2c2b493b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Custom fields and special characters

2018-12-14 Thread Santi
Hi,

I'm trying to populate a Tiddlywiki with some health information like a 
database. 

My idea is to structure the information in lists: list of doctors, list of 
drugs, list of diets, etc.

Every record on the list will have each associated tiddler and main tag.

I want to show every list in a table format showing the list of fields 
related to each record. For example: doctor's location, doctor's 
speciality, etc.

To show the information of the lists, records and fields in a table format 
I'm planning to use Jed Carty Dynamic Tables:
https://tiddlywiki.com/static/%2522Dynamic%2520Tables%2522%2520by%2520Jed%2520Carty.html
https://ooktech.com/jed/ExampleWikis/DynamicTables/
https://github.com/OokTech/TW5-DynamicTables

My main concern is about how to handle fields and localization.

The contents of the wiki will be written in spanish but I want to setup 
everything in a neutral approach. In order to accomplish this I've decided 
to:
- Use the standard english Tiddlywiki version
- Write tiddle titles and tags without special characters (like accents, 
etc.) and use the caption field to show these special characters when 
rendered.
- Follow recommended conventions for custom field names: lowercase, no 
spaces, no special characters, etc.
- Field values will have special characters if needed

So my question is:
- Is there a way to associate a caption-like value to a field name? For 
example, "location" in spanish is "ubicación" (with accent). I would like 
to name the field "ubicacion" (no accent) but show "Ubicación" (Capital and 
accent) whenever it is rendered. Maybe I can use a dictionary for that?

Thank you very much for this great product and your help.


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de56856c-8e3e-438e-9931-0ac34822e18d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: append to list field of a tiddler and count them

2018-12-14 Thread 'Mark S.' via TiddlyWiki
All actions that actually change something (not just display/render) such 
as tiddler fields have to go inside a button or other action widget 
(select, radio ... what else?). 

-- Mark

On Friday, December 14, 2018 at 9:20:04 AM UTC-8, Mohammad wrote:
>
> Thank you bimlas, Thanks Mark.
>
> It seems I have to put this inside button.
>
>
> --Mohammad
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b945e3cb-179e-47ac-96a9-97ddeba1071b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: append to list field of a tiddler and count them

2018-12-14 Thread Mohammad
Mark, is it possible to not use of button? For example can I put it inside 
a list widget or set widget or like that?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65dac51e-574e-4393-b715-806a9cdc8a8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: append to list field of a tiddler and count them

2018-12-14 Thread Mohammad
Thank you bimlas, Thanks Mark.

It seems I have to put this inside button.


--Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4141d74e-d561-459c-b3ad-cae7499c60a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] How to "generate" filter?

2018-12-14 Thread bimlas
@Mark:

I understand what you think and agree, the <$set> is a good solution - just 
found for a couple of hours ago, I used <$vars> earlier, but it was not 
able to store the filter output.

<$set name="output" filter="[tag[Filter Operators]first[5]]"> 
 
Text of variable: <$text text=<>/> 
 
List of titles: <$macrocall $name="list-links" filter=<>/> 
 


@Jeremy:

I understand, so the issue it's not the use of <$ wikify>, but it's 
unanticipated consequences. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3542f4ac-1947-4e42-9595-7a5e2cbcaf8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Collapsible TOC based on first characters of tiddler title

2018-12-14 Thread 'Mark S.' via TiddlyWiki
In the filter that starts "[all[tiddlers]..." you can append your own 
specific tag operator.

I assume that once you've stamped the 1800 tiddlers that you will do new 
ones by hand. I guess you could run the whole thing again if you had a lot 
of new tiddlers you were adding all at once.

I'm kind of hoping someone will pop up with "here's an easy way to get the 
first 3 letters of a title in uppercase." ;-)

-- Mark

On Friday, December 14, 2018 at 8:16:31 AM UTC-8, Damon Pritchett wrote:
>
> Thanks Mark. I've got some questions before I try this. How much would it 
> complicate things if I only wanted to perform this operation on tiddlers 
> with a specific tag? Also, with the delay that you've mentioned, is this 
> only for the first time it's run or every time I add a new tiddler?
>
> Thanks,
>
> Damon
>
>
> On Thursday, December 13, 2018 at 10:23:33 PM UTC-7, Mark S. wrote:
>>
>> Ok. Here's code that should be able to do it.
>>
>>
>> *But PLEASE make a backup of your work before trying this IT'S REALLY 
>> IMPORTANT! THIS MACRO MAY CHANGE EVERY TIDDLER IN YOUR TW FILE!!*
>>
>> There are several caveats here.
>>
>> One is that *every eligible tiddler will have it's modification date 
>> changed.*
>>
>> Do this on a desktop, not on a tablet or small device!
>>
>> Another, when you first save the tiddler with the button, there may be a 
>> delay. You may be asked if you want to keep waiting. You need to keep 
>> waiting.
>>
>> When you finally press the button, there will be even longer delays while 
>> it processes. You will probably be asked several times if you want to wait 
>> for the page before the process completes. It typically took 2 to 3 "waits" 
>> on tiddlywiki.com, and there's only 1100 tiddlers there!
>>
>> I strongly recommend that you close out any tabs you don't need. In fact, 
>> be sure all your work in all your applications is saved in case the browser 
>> hangs the machine.
>>
>> At the top of the code you can set a value for min-per-group. This is the 
>> minimum number of tiddlers you want before creating its own group entry. 
>> Paste the code into a tiddler and close the tiddler. Then, if you're sure 
>> you want to, press the button.
>>
>> The reason this code is so inefficient is that it is generating all 17576 
>> possible combinations of 3 letters and checking to see if any of your 
>> tiddlers match by title. A much more efficient code could have been written 
>> with just a tiny bit of javascript. Oh well.
>>
>> Be careful!
>> Have fun -- if you can!
>>
>> -- Mark
>>
>> \define min-per-group() 10
>> \define ABC() A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
>> \define xABC() A B C D E F
>> \define regexpABC() (?i)^$(letr1)$$(letr2)$$(letr3)$
>> \define glueABC() $(letr1)$$(letr2)$$(letr3)$
>>
>> <$button> Create alphabetical TOC structure
>><$list filter="[enlist]" variable=letr1>
>><$list filter="[enlist]" variable=letr2>
>><$list filter="[enlist]" variable=letr3>
>><$list filter=
>> "[all[tiddlers]!has[draft.of]regexprestlimit[1]]" 
>> variable="dummy">
>><$action-setfield $tiddler=<> tags=<> /> 
>><$list filter="[all[tiddlers]regexp]" >
>>   <$fieldmangler>
>> <$action-sendmessage $message="tm-remove-tag" 
>> $param=<>/>
>> <$action-sendmessage $message="tm-add-tag" $param=<>
>> />
>>   
>>
>>
>> 
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69c0a217-3b3b-4895-9164-0863af89f0e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Create New Tiddler and Substories

2018-12-14 Thread S. S.
Oh Wow Tony!

I'm glad I asked you that question, and that you replied.

I take many excerpts from books I read, with each excerpt being in its own 
tiddler. 
Within each book's tiddler is a list of its excerpts. Above that list is a 
button that can open all those excerpts at once (and another button to 
close them all).

I am imagining that opening them all as sub-tiddlers of the book tiddler is 
a much tidier way of grouping them, while not disrupting the story river. 
That way after each sub-tiddler is read, it can be closed. I hope I can 
work out a way for the state of the substories to be saved, (which ones 
were still open at the time of closing the main tiddler) so that when the 
main tiddler is reopened, the unread sub-tiddlers can be opened back up as 
well.

Thank you for your idea!

I imagine other creative minds will come up with more ways this could be 
used.



On Thursday, December 13, 2018 at 1:40:01 PM UTC+7, TonyM wrote:
>
> S. S.
> .
> I have an idea I have not implemented yet, because the navigator widget 
> has eluded me for sometime because of the lack of a path from ignorance to 
> understanding in the documentation.
>
> The idea I have is to open a project tiddler, from which I Open, edit 
> project items in its own dedicated story river. Such that I do not change 
> the main story river, or any others I create. I should then be able to 
> change which story is used and open all the tiddlers relating to last time 
> I had that specific story active, and in the order they were opened.
>
> Regards
> Tony
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b681d2cc-38d8-43e1-939e-85245e87c6a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 favicon: other formats: .png .svg

2018-12-14 Thread Mohammad
Jed,
 SVG also works! This is amazing.


Best
Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8912e46a-b65b-4a6c-8a28-cfd6f102bf1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Collapsible TOC based on first characters of tiddler title

2018-12-14 Thread Damon Pritchett
Thanks Mark. I've got some questions before I try this. How much would it 
complicate things if I only wanted to perform this operation on tiddlers 
with a specific tag? Also, with the delay that you've mentioned, is this 
only for the first time it's run or every time I add a new tiddler?

Thanks,

Damon


On Thursday, December 13, 2018 at 10:23:33 PM UTC-7, Mark S. wrote:
>
> Ok. Here's code that should be able to do it.
>
>
> *But PLEASE make a backup of your work before trying this IT'S REALLY 
> IMPORTANT! THIS MACRO MAY CHANGE EVERY TIDDLER IN YOUR TW FILE!!*
>
> There are several caveats here.
>
> One is that *every eligible tiddler will have it's modification date 
> changed.*
>
> Do this on a desktop, not on a tablet or small device!
>
> Another, when you first save the tiddler with the button, there may be a 
> delay. You may be asked if you want to keep waiting. You need to keep 
> waiting.
>
> When you finally press the button, there will be even longer delays while 
> it processes. You will probably be asked several times if you want to wait 
> for the page before the process completes. It typically took 2 to 3 "waits" 
> on tiddlywiki.com, and there's only 1100 tiddlers there!
>
> I strongly recommend that you close out any tabs you don't need. In fact, 
> be sure all your work in all your applications is saved in case the browser 
> hangs the machine.
>
> At the top of the code you can set a value for min-per-group. This is the 
> minimum number of tiddlers you want before creating its own group entry. 
> Paste the code into a tiddler and close the tiddler. Then, if you're sure 
> you want to, press the button.
>
> The reason this code is so inefficient is that it is generating all 17576 
> possible combinations of 3 letters and checking to see if any of your 
> tiddlers match by title. A much more efficient code could have been written 
> with just a tiny bit of javascript. Oh well.
>
> Be careful!
> Have fun -- if you can!
>
> -- Mark
>
> \define min-per-group() 10
> \define ABC() A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
> \define xABC() A B C D E F
> \define regexpABC() (?i)^$(letr1)$$(letr2)$$(letr3)$
> \define glueABC() $(letr1)$$(letr2)$$(letr3)$
>
> <$button> Create alphabetical TOC structure
><$list filter="[enlist]" variable=letr1>
><$list filter="[enlist]" variable=letr2>
><$list filter="[enlist]" variable=letr3>
><$list filter=
> "[all[tiddlers]!has[draft.of]regexprestlimit[1]]" 
> variable="dummy">
><$action-setfield $tiddler=<> tags=<> /> 
><$list filter="[all[tiddlers]regexp]" >
>   <$fieldmangler>
> <$action-sendmessage $message="tm-remove-tag" $param=<>/
> >
> <$action-sendmessage $message="tm-add-tag" $param=<>
> />
>   
>
>
> 
> 
> 
> 
> 
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/83f82d95-209e-47d7-ad21-659820f51622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW5 favicon: other formats: .png .svg

2018-12-14 Thread Mohammad
Hello Jed,
 Many thanks. It works for me too.

Cheers
Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b0ec61f0-f069-47bc-ae42-822bc8bfbaba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to "generate" filter?

2018-12-14 Thread 'Mark S.' via TiddlyWiki
Never mind. I just realized my example won't work.

Sorry!
-- Mark

On Friday, December 14, 2018 at 7:12:16 AM UTC-8, Mark S. wrote:
>
>
> I would like to generate a filter from a predefined list, for example:
>
>>
>> List: a b c
>> Generated filter: [tag[a]tag[b]tag[c]]
>>
>> So far, wikify has solved the task, but Jeremy pointed out 
>> 
>>  
>> that this is a bad habit (so you have to *avoid this*, but you can try 
>> out on https://tiddlywiki.com/):
>>
>>
> Hmm. He doesn't mention why it's a bad idea. I imagine it has something to 
> do with performance. 
>
> But there is that saying, "When all you have is a hammer, everything 
> starts to look like a nail.".
>
> In this case, you may have other tools
>
> In most situations couldn't you use something like:
>
> <$set name="mytags" value="A B C">
> >
> 
>  
> ?
>
> Without seeing how you are using the filter, it's hard to know what your 
> really need.
>
> Have fun!
> -- Mark
>
> <$wikify name="filter" text="""[<$list filter="a b c">tag[<$text text=<
>> >/>]]""">
>> Wikified filter expression: <$text text=<>/>
>> 
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e3cd2391-d235-4e8e-b800-ed63bfff6a11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] How to "generate" filter?

2018-12-14 Thread Jeremy Ruston
Hi Bimlas
> I would like to generate a filter from a predefined list, for example:
> 
> List: a b c
> Generated filter: [tag[a]tag[b]tag[c]]
> 
> So far, wikify has solved the task, but Jeremy pointed out 
>  
> that this is a bad habit (so you have to avoid this, but you can try out on 
> https://tiddlywiki.com/):
> 
> <$wikify name="filter" text="""[<$list filter="a b c">tag[<$text 
> text=<>/>]]""">
> Wikified filter expression: <$text text=<>/>
> 
> 
> The question is, how can I even compile filter expressions?

I think this example is OK, and a reasonable way to accomplish what you want. 
The problem with the example we were discussing on that link was that tiddler 
titles containing certain wikitext constructions would fail. Here you’re using 
the right techniques to avoid that (ie using the <$text> widget instead of 
transcluding the variable with <>).

Best wishes

Jeremy.


> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/415d6b91-fbbd-43a4-8ca8-719be40cc23e%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F7BEF5C3-D7EB-4D25-9D7C-84B9397DC2D4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to "generate" filter?

2018-12-14 Thread 'Mark S.' via TiddlyWiki

I would like to generate a filter from a predefined list, for example:

>
> List: a b c
> Generated filter: [tag[a]tag[b]tag[c]]
>
> So far, wikify has solved the task, but Jeremy pointed out 
>  
> that this is a bad habit (so you have to *avoid this*, but you can try 
> out on https://tiddlywiki.com/):
>
>
Hmm. He doesn't mention why it's a bad idea. I imagine it has something to 
do with performance. 

But there is that saying, "When all you have is a hammer, everything starts 
to look like a nail.".

In this case, you may have other tools

In most situations couldn't you use something like:

<$set name="mytags" value="A B C">
>

 
?

Without seeing how you are using the filter, it's hard to know what your 
really need.

Have fun!
-- Mark

<$wikify name="filter" text="""[<$list filter="a b c">tag[<$text text=<
> >/>]]""">
> Wikified filter expression: <$text text=<>/>
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/169c0373-f358-469f-98d0-fc07c8040322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Searching Tiddlers with transcluded content

2018-12-14 Thread Emily Dies
Hi, 
I'm creating a tiddlywiki to be used as a reference tool for non-technical 
users. 
One issue that I am running into is that if I transclude content "ABC" into 
tiddler X, the search function does not find X when I search for ABC. 
Is there a workaround for this? I've made some changes to the 
tiddler $:/core/ui/DefaultSearchResultList to capture additional fields, 
but I'm not sure if it's possible to search within transcluded content. 

Thanks in advance for your help. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b24d0827-a323-4a06-8631-944bea914809%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: append to list field of a tiddler and count them

2018-12-14 Thread 'Mark S.' via TiddlyWiki
You probably want the ActionListopsWidget. Possibly like this:

<$button>
<$action-listops $tiddler="$:/state/reference" $subfilter="[tag[myTag1]]"/>
Populate list field of state reference

<$button>



Good luck
-- Mark

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/77309a03-48b6-4ad8-93ab-6546e2142b64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Altering position of opened link in SubStory

2018-12-14 Thread Jon
Hi BC

Thanks for your detailed reply.

I didn't know you could do this in the control panel and played around with 
the tiddler opening behaviour, but unfortunately I couldn't produce any 
changes  (after saving and re-loading).

However, looking at the options, there doesn't seem to be one that would 
cover what I want anyway, which is that the link opens beneath itself 
rather than opening at the bottom of the tiddler.

Regards
Jon

On Friday, 14 December 2018 07:31:06 UTC, BurningTreeC wrote:
>
> Hi Jon,
>
> the navigator widget has two attributes that can change that behavior: 
> openLinkFromInsideRiver and openLinkFromOutsideRiver
>
> openLinkFromInsideRiver affects links clicked within a tiddler inside the 
> story (or substory) river. this can be top (top of story), bottom (bottom 
> of story), above (above the tiddler containing the clicked link) or below 
> (below the tiddler containing the clicked link)
>
> openLinkFromOutsideRiver affects links and buttons outside the story and 
> can be "top" or "bottom"
>
>
> the navigator widget in the default pagetemplate transcludes two 
> configuration tiddlers ($:/config/Navigation/openLinkFromInsideRiver, 
> $:/config/Navigation/openLinkFromOutsideRiver) so that that behavior can be 
> configured in the ControlPanel under Settings -> Tiddler Opening Behavior. 
> If you want the same behavior like in your default story river, you can 
> also just transclude those tiddlers ( <$navigator ... ... 
> openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} 
> ... > ) ... if not, just use 
> openLinkFromInsideRiver="above|below|top|bottom" and so on
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/340855cb-7e3c-4234-b660-22087b7fb789%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: append to list field of a tiddler and count them

2018-12-14 Thread bimlas
I don't know the exact answer, but I think you have to use `set` widget:

<$set name="output" filter="[tag[Filter Operators]first[5]]">

Text of variable: <$text text=<>/>

List of titles: <$macrocall $name="list-links" filter=<>/>



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e6ccef1-de15-4e1d-9e62-7fd84504b744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to "generate" filter?

2018-12-14 Thread bimlas
OK, just found a solution for storing filter output:

<$set name="output" filter="a [[b c]] d">

<$macrocall $name="list-links" filter=<>/>



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/50173094-2996-423c-b0d2-67d6ecad7186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [Slightly OT] Jeremy speaking at CodeMesh, London 8/9th November 2018

2018-12-14 Thread @TiddlyTweeter
Alex

Is it in many languages?

J, x

On Friday, 14 December 2018 13:39:23 UTC+1, AlexHough wrote:
>
> Mario,
>
> " a mechanism, that would suggest "meaningful tags" by analysing the prose 
> text(s). ... but it needs to work without a 3rd party server. It should be 
> integrated into TW. ... Is this possible?"
>
> Wordnet [1] might be useful. 
>
> WordNet® is a large lexical database of English. Nouns, verbs, adjectives 
> and adverbs are grouped into sets of cognitive synonyms (synsets), each 
> expressing a distinct concept. Synsets are interlinked by means of 
> conceptual-semantic and lexical relations. The resulting network of 
> meaningfully related words and concepts can be navigated with the browser 
> . WordNet is also freely and 
> publicly available for download . 
> WordNet's structure makes it a useful tool for computational linguistics 
> and natural language processing.
>
>
> I use it a lot to find words at higher or lower levels of abstraction. It 
> would be wonderful if, when tagging, words from Wordnet were suggested...
>
> Alex
>
> [1] https://wordnet.princeton.edu/
>
> On Thu, 13 Dec 2018 at 11:58, PMario > 
> wrote:
>
>>
>> On Wednesday, December 12, 2018 at 5:54:41 PM UTC+1, Joe Armstrong wrote:
>> ...
>>
>>> What I did was to use Baysian inference to "learn" the relationship 
>>> between the words in the text and the supplied tags - so for each word in 
>>> the text I caculate the probability that the tiddler has tag  (forall 
>>> known tags ) - then in a second pass I tested the model and predicted 
>>> the tags from the text. This way I could correctly predict about 80% of the 
>>> tags from the text alone. The problem was that, to me, many of the tags 
>>> were meaningless and were used internally to organise the TW.
>>>
>>
>> That's interesting. ... But I think this has some "evolutionary" causes. 
>>
>> I think, it hasn't always been that way. Open classic.tiddlywiki.com ... 
>> You'll see wikipedia-like tag-box in every tiddler. ... The UI isn't "nice" 
>> with tags here. .. So a very common question in the group was: "How can I 
>> switch this box off?"
>>
>> I personally prefer something that's called "TagglyTagging" (... oh we 
>> love those weird names :) I think TagglyTagging was introduced with MPTW 
>>  (Monkey Pirate TiddlyWiki). 
>> For me it was a completely new way to work with tiddler titles. ... TT is a 
>> set of plugins, that allows you to visualize the relation between different 
>> tiddlers ... It speeds up navigation between related tiddlers, in a very 
>> convenient way. ... The "sitemap" view is what we call TOC (Table of 
>> Content) in TW5 now.
>>
>> An other plugin, that imo influenced TW5 was: the fET-plugin (for each 
>> tiddler) . It 
>> allows *users *to iterate over the tiddler store and *create *many types 
>> of "*list-views*". This plugin was highly influential for the TW5 
>> list-widget, and <> macros that we have today. 
>>
>> Both of those systems (mis)use tags to create internal structure, because 
>> the tagging mechanism *was and is* highly optimized. Both in the 
>> core-software and the UI. The core uses several caches to speed up tag and 
>> "backlink" lookups. ... We do have fields and filters, that are able to 
>> create invisible internal structure. But none of those possibilities offer 
>> the performance and "ease of use" from the UI perspective. 
>>
>> In my opinion the TF*IDF were better than the assigned tags since they 
>>> had nothing
>>> to do with the organisation, but more to do with the actual words in the 
>>> text.
>>>
>>
>> For me it would be very interesting to have a mechanism, that would 
>> suggest "meaningful tags" by analysing the prose text(s). ... but it needs 
>> to work without a 3rd party server. It should be integrated into TW. ... Is 
>> this possible?
>>
>> have  fun!
>> mario
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/90d0b5a8-88b2-4489-ac3d-ed724f08b01c%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

[tw5] Re: How to "generate" filter?

2018-12-14 Thread bimlas
Apart from generating the filter, it would also be appropriate to store the 
filter output, which Mohammad is also interested in.

https://groups.google.com/forum/#!topic/tiddlywiki/ENSs0lDkL68

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/140617b0-bd66-4e46-b9a6-33b32d4a2a20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [Slightly OT] Jeremy speaking at CodeMesh, London 8/9th November 2018

2018-12-14 Thread @TiddlyTweeter
PMario wrote:
>
> For me it would be very interesting to have a mechanism, that would 
> suggest "meaningful tags" by analysing the prose text(s). ... but it needs 
> to work without a 3rd party server. It should be integrated into TW. ... Is 
> this possible?
>

 Great query. Internally would need limiting ... associative broader remit 
(all homonyms, synonyms etc)  library size too vast?

Smart text analysis possible (stemming; redundancy reduction) but limited.

IMO this could work for "domains of interest". For instance, the obvious 
examples would be "tags for components of TW" which could be a data tiddler 
listing commonly used synonyms. Obvious would be stuff like "plugin" v. 
"plugins"

I doubt internal "all and every possible" is possible without external 
referent input. BUT I doubt its needed to assert a reliable tag. Taggery is 
in "domains of interest" and that finitude looks good enough?

Just thoughts
Josiah

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/46304181-a66f-4d91-9aae-734084c28bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to "generate" filter?

2018-12-14 Thread bimlas
I would like to generate a filter from a predefined list, for example:

List: a b c
Generated filter: [tag[a]tag[b]tag[c]]

So far, wikify has solved the task, but Jeremy pointed out 
 
that this is a bad habit (so you have to *avoid this*, but you can try out 
on https://tiddlywiki.com/):

<$wikify name="filter" text="""[<$list filter="a b c">tag[<$text text=<
>/>]]""">
Wikified filter expression: <$text text=<>/>


The question is, how can I even compile filter expressions?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/415d6b91-fbbd-43a4-8ca8-719be40cc23e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [Slightly OT] Jeremy speaking at CodeMesh, London 8/9th November 2018

2018-12-14 Thread @TiddlyTweeter
Alex & PMario

External reference could be useful. Personally I prefer associative visual 
maping like VisualTheasaurus.

BUT before that, surely, we need to get somewhat more COMMUNAL on taggery?

I mean, why look up Godzilla when simple sharing could do it?

J.



On Friday, 14 December 2018 13:39:23 UTC+1, AlexHough wrote:
>
> Mario,
>
> " a mechanism, that would suggest "meaningful tags" by analysing the prose 
> text(s). ... but it needs to work without a 3rd party server. It should be 
> integrated into TW. ... Is this possible?"
>
> Wordnet [1] might be useful. 
>
> WordNet® is a large lexical database of English. Nouns, verbs, adjectives 
> and adverbs are grouped into sets of cognitive synonyms (synsets), each 
> expressing a distinct concept. Synsets are interlinked by means of 
> conceptual-semantic and lexical relations. The resulting network of 
> meaningfully related words and concepts can be navigated with the browser 
> . WordNet is also freely and 
> publicly available for download . 
> WordNet's structure makes it a useful tool for computational linguistics 
> and natural language processing.
>
>
> I use it a lot to find words at higher or lower levels of abstraction. It 
> would be wonderful if, when tagging, words from Wordnet were suggested...
>
> Alex
>
> [1] https://wordnet.princeton.edu/
>
> On Thu, 13 Dec 2018 at 11:58, PMario > 
> wrote:
>
>>
>> On Wednesday, December 12, 2018 at 5:54:41 PM UTC+1, Joe Armstrong wrote:
>> ...
>>
>>> What I did was to use Baysian inference to "learn" the relationship 
>>> between the words in the text and the supplied tags - so for each word in 
>>> the text I caculate the probability that the tiddler has tag  (forall 
>>> known tags ) - then in a second pass I tested the model and predicted 
>>> the tags from the text. This way I could correctly predict about 80% of the 
>>> tags from the text alone. The problem was that, to me, many of the tags 
>>> were meaningless and were used internally to organise the TW.
>>>
>>
>> That's interesting. ... But I think this has some "evolutionary" causes. 
>>
>> I think, it hasn't always been that way. Open classic.tiddlywiki.com ... 
>> You'll see wikipedia-like tag-box in every tiddler. ... The UI isn't "nice" 
>> with tags here. .. So a very common question in the group was: "How can I 
>> switch this box off?"
>>
>> I personally prefer something that's called "TagglyTagging" (... oh we 
>> love those weird names :) I think TagglyTagging was introduced with MPTW 
>>  (Monkey Pirate TiddlyWiki). 
>> For me it was a completely new way to work with tiddler titles. ... TT is a 
>> set of plugins, that allows you to visualize the relation between different 
>> tiddlers ... It speeds up navigation between related tiddlers, in a very 
>> convenient way. ... The "sitemap" view is what we call TOC (Table of 
>> Content) in TW5 now.
>>
>> An other plugin, that imo influenced TW5 was: the fET-plugin (for each 
>> tiddler) . It 
>> allows *users *to iterate over the tiddler store and *create *many types 
>> of "*list-views*". This plugin was highly influential for the TW5 
>> list-widget, and <> macros that we have today. 
>>
>> Both of those systems (mis)use tags to create internal structure, because 
>> the tagging mechanism *was and is* highly optimized. Both in the 
>> core-software and the UI. The core uses several caches to speed up tag and 
>> "backlink" lookups. ... We do have fields and filters, that are able to 
>> create invisible internal structure. But none of those possibilities offer 
>> the performance and "ease of use" from the UI perspective. 
>>
>> In my opinion the TF*IDF were better than the assigned tags since they 
>>> had nothing
>>> to do with the organisation, but more to do with the actual words in the 
>>> text.
>>>
>>
>> For me it would be very interesting to have a mechanism, that would 
>> suggest "meaningful tags" by analysing the prose text(s). ... but it needs 
>> to work without a 3rd party server. It should be integrated into TW. ... Is 
>> this possible?
>>
>> have  fun!
>> mario
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/90d0b5a8-88b2-4489-ac3d-ed724f08b01c%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit 

Re: [tw5] Re: [Slightly OT] Jeremy speaking at CodeMesh, London 8/9th November 2018

2018-12-14 Thread Alex Hough
Mario,

" a mechanism, that would suggest "meaningful tags" by analysing the prose
text(s). ... but it needs to work without a 3rd party server. It should be
integrated into TW. ... Is this possible?"

Wordnet [1] might be useful.

WordNet® is a large lexical database of English. Nouns, verbs, adjectives
and adverbs are grouped into sets of cognitive synonyms (synsets), each
expressing a distinct concept. Synsets are interlinked by means of
conceptual-semantic and lexical relations. The resulting network of
meaningfully related words and concepts can be navigated with the browser
. WordNet is also freely and
publicly available for download .
WordNet's structure makes it a useful tool for computational linguistics
and natural language processing.


I use it a lot to find words at higher or lower levels of abstraction. It
would be wonderful if, when tagging, words from Wordnet were suggested...

Alex

[1] https://wordnet.princeton.edu/

On Thu, 13 Dec 2018 at 11:58, PMario  wrote:

>
> On Wednesday, December 12, 2018 at 5:54:41 PM UTC+1, Joe Armstrong wrote:
> ...
>
>> What I did was to use Baysian inference to "learn" the relationship
>> between the words in the text and the supplied tags - so for each word in
>> the text I caculate the probability that the tiddler has tag  (forall
>> known tags ) - then in a second pass I tested the model and predicted
>> the tags from the text. This way I could correctly predict about 80% of the
>> tags from the text alone. The problem was that, to me, many of the tags
>> were meaningless and were used internally to organise the TW.
>>
>
> That's interesting. ... But I think this has some "evolutionary" causes.
>
> I think, it hasn't always been that way. Open classic.tiddlywiki.com ...
> You'll see wikipedia-like tag-box in every tiddler. ... The UI isn't "nice"
> with tags here. .. So a very common question in the group was: "How can I
> switch this box off?"
>
> I personally prefer something that's called "TagglyTagging" (... oh we
> love those weird names :) I think TagglyTagging was introduced with MPTW
>  (Monkey Pirate TiddlyWiki).
> For me it was a completely new way to work with tiddler titles. ... TT is a
> set of plugins, that allows you to visualize the relation between different
> tiddlers ... It speeds up navigation between related tiddlers, in a very
> convenient way. ... The "sitemap" view is what we call TOC (Table of
> Content) in TW5 now.
>
> An other plugin, that imo influenced TW5 was: the fET-plugin (for each
> tiddler) . It
> allows *users *to iterate over the tiddler store and *create *many types
> of "*list-views*". This plugin was highly influential for the TW5
> list-widget, and <> macros that we have today.
>
> Both of those systems (mis)use tags to create internal structure, because
> the tagging mechanism *was and is* highly optimized. Both in the
> core-software and the UI. The core uses several caches to speed up tag and
> "backlink" lookups. ... We do have fields and filters, that are able to
> create invisible internal structure. But none of those possibilities offer
> the performance and "ease of use" from the UI perspective.
>
> In my opinion the TF*IDF were better than the assigned tags since they had
>> nothing
>> to do with the organisation, but more to do with the actual words in the
>> text.
>>
>
> For me it would be very interesting to have a mechanism, that would
> suggest "meaningful tags" by analysing the prose text(s). ... but it needs
> to work without a 3rd party server. It should be integrated into TW. ... Is
> this possible?
>
> have  fun!
> mario
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/90d0b5a8-88b2-4489-ac3d-ed724f08b01c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 

[tw5] Re: TW5 favicon: other formats: .png .svg

2018-12-14 Thread Jed Carty
The tiddler title needs to be $:/favicon.ico, but the content doesn't need 
to be in .ico format.

If you put an image file into a tiddler and then rename the tiddler to 
$:/favicon.ico so far it has worked for me with jpg, png and gif images. I 
haven't gotten svg to work yet but I think that is a browser issue, not a 
tiddlywiki issue.

The only other limit I have run into is that it can't be a _canonical_uri 
tiddler

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15cf3f8a-8abb-4c9b-bf3f-fabd7bc061a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob serving files, asking opinions

2018-12-14 Thread Jed Carty
Mark,

Originally it was to avoid a problem that it turned out I had to solve 
anyway and now there isn't really a reason to not use that. After having 
trouble with it before I didn't consider it again but that is a good choice.

I will try to set it up so it is Wiki/files and then there shouldn't be 
trouble as long as I disallow 'files' as a path component.

Thank you, I think that this is a problem I was staring at too much and 
missed the obvious solution when it was available.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d467322b-6a42-4479-b105-ea89c5c5ce15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] append to list field of a tiddler and count them

2018-12-14 Thread Mohammad
Question

I have some list widget in different part of wikis list some tiddlers based 
on different criteria, I wish to append the result to a list field of a 
state tiddler to be used later.



   - *Pseudo code*

<$list filter="[tag[myTag1]]">
 add results to list field of my state tiddler called $:/state/reference




and again somewhere else I have, and this may happen several times

<$list filter="[tag[myTag2]]">
 add results to list field of my state tiddler called $:/state/reference



Later on I wish to use the  $:/state/reference to count number of 
references and display them as an ordered list. How can I do this?

In other words: How can I append items to list field of a tiddler (state)?


-- Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86cacbfa-e9f6-4bb3-9395-0a656247d855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.