Discussion:
[tw] More elegant way of doing this lexicon?
Add Reply
Silvercat
2017-08-08 20:32:01 UTC
Reply
Permalink
Raw Message
I'm switching my constructed language lexicon to TW5 and I expect there's a
more elegant way of doing the english index. The TWC version is here -
http://www.silversspace.com/conlang/nyji/nyji-lexicon.html#EnglishIndex

What I was doing was making a tiddler for each English word and tagging it
English then using the old Embed plug-in to throw them all in one tiddler.
Since language is messy, it's not a one-to-one correlation in either
direction for a lot of the words.

Any ideas of an easier and better way of doing it? My current method
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.

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+***@googlegroups.com.
To post to this group, send email to ***@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/78cacf59-0b2f-4de0-ad60-8243f53505ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-08-08 21:52:38 UTC
Reply
Permalink
Raw Message
Silvercat wrote:

Any ideas of an easier and better way of doing it? My current method
Post by Silvercat
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.
Not really clear what "doing it" means, or exactly what you mean with
"double" (maybe two tiddlers per word?) - but did you know that you can
import a TW classic into a TW5 so you probably don't have to re-create your
actual word 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+***@googlegroups.com.
To post to this group, send email to ***@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/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lydean Works
2017-08-08 22:03:15 UTC
Reply
Permalink
Raw Message
Yes, I did that. I'm working on fixing all the old formatting. There's
double because there's the lexicon entry itself then the english index
entry. To use Spanish as an example instead of my weirdo language, there'd
be the lexicon entries for 'ser' and 'estar' with their definitions, notes,
and example sentences and the english index of 'to be'.
Post by Silvercat
Any ideas of an easier and better way of doing it? My current method
Post by Silvercat
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.
Not really clear what "doing it" means, or exactly what you mean with
"double" (maybe two tiddlers per word?) - but did you know that you can
import a TW classic into a TW5 so you probably don't have to re-create your
actual word tiddlers?
<:-)
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/CAE7YNET4YpnFvEyWKUm8J09a0M1BDWJBdJG%3DtvuPE-D_czOgUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-08 22:35:05 UTC
Reply
Permalink
Raw Message
I would say that for maximum flexibility, instead of fixing the formatting,
put the various bits of information into fields. Then use template tiddlers
to display the field information as needed. If the information is stored as
fields, then you can do things like list English - word - phonetic or put
your comparable words in a list field and then for each english word you
could also list each (??) word followed by its notes.

Play with it a bit, of course, before committing to any one approach.

Good luck!
Mark
Post by Lydean Works
Yes, I did that. I'm working on fixing all the old formatting. There's
double because there's the lexicon entry itself then the english index
entry. To use Spanish as an example instead of my weirdo language, there'd
be the lexicon entries for 'ser' and 'estar' with their definitions, notes,
and example sentences and the english index of 'to be'.
Post by Silvercat
Any ideas of an easier and better way of doing it? My current method
Post by Silvercat
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.
Not really clear what "doing it" means, or exactly what you mean with
"double" (maybe two tiddlers per word?) - but did you know that you can
import a TW classic into a TW5 so you probably don't have to re-create your
actual word tiddlers?
<:-)
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
<javascript:>.
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/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/ccc7879c-f698-4324-86dd-43a293f5e257%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-09 00:51:54 UTC
Reply
Permalink
Raw Message
I'm not worried about *maximum *flexibility as there are just too many
parts in an entry. The standard noun has the word, between one and ten
meanings; any irregularity; an abbreviated form for deriving words; notes;
the spelling, stress, IPA, and phonetic of the singular, plural, and
paucal; and at least one translated sentence. Verbs, adjectives, and
affixes are simpler. Stamps are making my life much easier.

Still not sure how to do the English index. Some examples: 'chanyki' has
three meanings that would be listed separately (color, skin, and surface),
while 'chuBi, liBi, syBi,' and 'mymsy' would all be listed under 'here'.
I've given 'chanyki' three fields: english1, english2, and english3... I'm
sure there's a way to pull those three fields from each word entry and
match them up with their title on the EnglishIndex tiddler, I just don't
know how.

Can y'all tell I'm not a programming person? :p
Post by 'Mark S.' via TiddlyWiki
I would say that for maximum flexibility, instead of fixing the
formatting, put the various bits of information into fields. Then use
template tiddlers to display the field information as needed. If the
information is stored as fields, then you can do things like list English -
word - phonetic or put your comparable words in a list field and then for
each english word you could also list each (??) word followed by its notes.
Play with it a bit, of course, before committing to any one approach.
Good luck!
Mark
Post by Lydean Works
Yes, I did that. I'm working on fixing all the old formatting. There's
double because there's the lexicon entry itself then the english index
entry. To use Spanish as an example instead of my weirdo language, there'd
be the lexicon entries for 'ser' and 'estar' with their definitions, notes,
and example sentences and the english index of 'to be'.
Post by Silvercat
Any ideas of an easier and better way of doing it? My current method
Post by Silvercat
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.
Not really clear what "doing it" means, or exactly what you mean with
"double" (maybe two tiddlers per word?) - but did you know that you can
import a TW classic into a TW5 so you probably don't have to re-create your
actual word tiddlers?
<:-)
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/43debabc-f870-47bf-9375-b540e804d317%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-09 03:21:17 UTC
Reply
Permalink
Raw Message
Do you want to have 3 english fields, or would you prefer a single list
field with as many words as relate (e.g. [[Wordy 1]] [[Wordy 2]] [[Wordy
3]]) ??

You mention EnglishIndex tiddler. Does that mean that you have a data
dictionary with english definitions, or were you referring to a group of
tiddlers each with their respective English definitions? A data dictionary
would let you make a simple word -> definition glossary.


Mark
Post by Silvercat
I'm not worried about *maximum *flexibility as there are just too many
parts in an entry. The standard noun has the word, between one and ten
meanings; any irregularity; an abbreviated form for deriving words; notes;
the spelling, stress, IPA, and phonetic of the singular, plural, and
paucal; and at least one translated sentence. Verbs, adjectives, and
affixes are simpler. Stamps are making my life much easier.
Still not sure how to do the English index. Some examples: 'chanyki' has
three meanings that would be listed separately (color, skin, and surface),
while 'chuBi, liBi, syBi,' and 'mymsy' would all be listed under 'here'.
I've given 'chanyki' three fields: english1, english2, and english3... I'm
sure there's a way to pull those three fields from each word entry and
match them up with their title on the EnglishIndex tiddler, I just don't
know how.
Can y'all tell I'm not a programming person? :p
Post by 'Mark S.' via TiddlyWiki
I would say that for maximum flexibility, instead of fixing the
formatting, put the various bits of information into fields. Then use
template tiddlers to display the field information as needed. If the
information is stored as fields, then you can do things like list English -
word - phonetic or put your comparable words in a list field and then for
each english word you could also list each (??) word followed by its notes.
Play with it a bit, of course, before committing to any one approach.
Good luck!
Mark
Post by Lydean Works
Yes, I did that. I'm working on fixing all the old formatting. There's
double because there's the lexicon entry itself then the english index
entry. To use Spanish as an example instead of my weirdo language, there'd
be the lexicon entries for 'ser' and 'estar' with their definitions, notes,
and example sentences and the english index of 'to be'.
Post by Silvercat
Any ideas of an easier and better way of doing it? My current method
Post by Silvercat
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.
Not really clear what "doing it" means, or exactly what you mean with
"double" (maybe two tiddlers per word?) - but did you know that you can
import a TW classic into a TW5 so you probably don't have to re-create your
actual word tiddlers?
<:-)
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/77b81c44-9cdd-4277-ba56-c134d8ff50db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lydean Works
2017-08-09 03:23:52 UTC
Reply
Permalink
Raw Message
I don't have anything right now for the TW5 version. Is there a 101 for
doing a data dictionary?

On Tue, Aug 8, 2017, 8:21 PM 'Mark S.' via TiddlyWiki <
Post by 'Mark S.' via TiddlyWiki
Do you want to have 3 english fields, or would you prefer a single list
field with as many words as relate (e.g. [[Wordy 1]] [[Wordy 2]] [[Wordy
3]]) ??
You mention EnglishIndex tiddler. Does that mean that you have a data
dictionary with english definitions, or were you referring to a group of
tiddlers each with their respective English definitions? A data dictionary
would let you make a simple word -> definition glossary.
Mark
Post by Silvercat
I'm not worried about *maximum *flexibility as there are just too many
parts in an entry. The standard noun has the word, between one and ten
meanings; any irregularity; an abbreviated form for deriving words; notes;
the spelling, stress, IPA, and phonetic of the singular, plural, and
paucal; and at least one translated sentence. Verbs, adjectives, and
affixes are simpler. Stamps are making my life much easier.
Still not sure how to do the English index. Some examples: 'chanyki' has
three meanings that would be listed separately (color, skin, and surface),
while 'chuBi, liBi, syBi,' and 'mymsy' would all be listed under 'here'.
I've given 'chanyki' three fields: english1, english2, and english3... I'm
sure there's a way to pull those three fields from each word entry and
match them up with their title on the EnglishIndex tiddler, I just don't
know how.
Can y'all tell I'm not a programming person? :p
Post by 'Mark S.' via TiddlyWiki
I would say that for maximum flexibility, instead of fixing the
formatting, put the various bits of information into fields. Then use
template tiddlers to display the field information as needed. If the
information is stored as fields, then you can do things like list English -
word - phonetic or put your comparable words in a list field and then for
each english word you could also list each (??) word followed by its notes.
Play with it a bit, of course, before committing to any one approach.
Good luck!
Mark
Post by Lydean Works
Yes, I did that. I'm working on fixing all the old formatting. There's
double because there's the lexicon entry itself then the english index
entry. To use Spanish as an example instead of my weirdo language, there'd
be the lexicon entries for 'ser' and 'estar' with their definitions, notes,
and example sentences and the english index of 'to be'.
Post by Silvercat
Any ideas of an easier and better way of doing it? My current method
Post by Silvercat
effectively doubles the number of tiddlers needed and since I have over 300
words, it's kinda a pain.
Not really clear what "doing it" means, or exactly what you mean with
"double" (maybe two tiddlers per word?) - but did you know that you can
import a TW classic into a TW5 so you probably don't have to re-create your
actual word tiddlers?
<:-)
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/7a75daf0-50d4-4b95-822e-c04dc651c9a0%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/77b81c44-9cdd-4277-ba56-c134d8ff50db%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/77b81c44-9cdd-4277-ba56-c134d8ff50db%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/CAE7YNERYA_FNEWUHakM51x%3DpsUOiY2HP8YeC17M9rVy1Ws1%3DyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
RichardWilliamSmith
2017-08-09 03:38:10 UTC
Reply
Permalink
Raw Message
A data dictionary is only going to give you 1:1 mappings. I think Mark's on
the right track - each tiddler has as many fields as it needs and each
field can contain a list if it needs to. You can write an interface for
entering/editing the information and you can transclude it into the view
however you like. Do you have the original data in some other form? A
spreadsheet for example? There should be a way to automate the creation of
the tiddlers if you do.

Regards,
Richard
--
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 ***@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/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lydean Works
2017-08-09 03:42:02 UTC
Reply
Permalink
Raw Message
Not any more, but I have as much time as I need to work on it. If I can get
the concept working...

On Tue, Aug 8, 2017, 8:38 PM RichardWilliamSmith <
Post by RichardWilliamSmith
A data dictionary is only going to give you 1:1 mappings. I think Mark's
on the right track - each tiddler has as many fields as it needs and each
field can contain a list if it needs to. You can write an interface for
entering/editing the information and you can transclude it into the view
however you like. Do you have the original data in some other form? A
spreadsheet for example? There should be a way to automate the creation of
the tiddlers if you do.
Regards,
Richard
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/CAE7YNERYkpksRrS%2BGtvApGJX5Gm1bQqRbBcD-tCVx2CH7mnXyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-11 00:30:32 UTC
Reply
Permalink
Raw Message
So any pointers toward telling tw5 to take the 'english' fields from all
the tiddlers tagged 'lexeme', match them with the tiddler title fields,
alphabetize them by the 'english' fields, and then throw them all in one
tiddler? Cuz I'm clueless, sorry. I'm focusing on the 10 or 11 completely
complete lexicon entries to get thing working.

Thanks
Post by Lydean Works
Not any more, but I have as much time as I need to work on it. If I can
get the concept working...
On Tue, Aug 8, 2017, 8:38 PM RichardWilliamSmith <
Post by RichardWilliamSmith
A data dictionary is only going to give you 1:1 mappings. I think Mark's
on the right track - each tiddler has as many fields as it needs and each
field can contain a list if it needs to. You can write an interface for
entering/editing the information and you can transclude it into the view
however you like. Do you have the original data in some other form? A
spreadsheet for example? There should be a way to automate the creation of
the tiddlers if you do.
Regards,
Richard
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/e25c68dc-1036-4106-911b-71aa033ffa44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-11 04:51:33 UTC
Reply
Permalink
Raw Message
Something like:

<$list filter="[tag[lexeme]each[english]get[english]sort[]"/>

Should make your basic english list. With a variety of techniques, you can
make the list look more like something you want.

If you can make a tiddler that automatically culls and presents the items,
do you really need to throw them into a tiddler? It's usually better to
leverage the power of automation.

It helps if you post your burgeoning lexicon some place, so everyone can
see what your data is shaping up as.

Good luck,
Mark
Post by Silvercat
So any pointers toward telling tw5 to take the 'english' fields from all
the tiddlers tagged 'lexeme', match them with the tiddler title fields,
alphabetize them by the 'english' fields, and then throw them all in one
tiddler? Cuz I'm clueless, sorry. I'm focusing on the 10 or 11 completely
complete lexicon entries to get thing working.
Thanks
Post by Lydean Works
Not any more, but I have as much time as I need to work on it. If I can
get the concept working...
Post by RichardWilliamSmith
A data dictionary is only going to give you 1:1 mappings. I think Mark's
on the right track - each tiddler has as many fields as it needs and each
field can contain a list if it needs to. You can write an interface for
entering/editing the information and you can transclude it into the view
however you like. Do you have the original data in some other form? A
spreadsheet for example? There should be a way to automate the creation of
the tiddlers if you do.
Regards,
Richard
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
<javascript:>.
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/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/f3249036-7d14-4559-82f9-84c7674f493a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-11 17:32:42 UTC
Reply
Permalink
Raw Message
I've got it on google drive here -
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28

The pertinent tiddler is EnglishIndex and I'm trying to make it more or
less look like the old one at
http://www.silversspace.com/conlang/nyji/nyji-lexicon.html#EnglishIndex with
the English meaning matching up to the linked conlang words.

Is there a breathe-in, breathe-out manual to filters (aka, the first step
is breathe in...)? Because the one on tiddlywiki.com goes right over my head
Post by 'Mark S.' via TiddlyWiki
<$list filter="[tag[lexeme]each[english]get[english]sort[]"/>
Should make your basic english list. With a variety of techniques, you can
make the list look more like something you want.
If you can make a tiddler that automatically culls and presents the items,
do you really need to throw them into a tiddler? It's usually better to
leverage the power of automation.
It helps if you post your burgeoning lexicon some place, so everyone can
see what your data is shaping up as.
Good luck,
Mark
Post by Silvercat
So any pointers toward telling tw5 to take the 'english' fields from all
the tiddlers tagged 'lexeme', match them with the tiddler title fields,
alphabetize them by the 'english' fields, and then throw them all in one
tiddler? Cuz I'm clueless, sorry. I'm focusing on the 10 or 11 completely
complete lexicon entries to get thing working.
Thanks
Post by Lydean Works
Not any more, but I have as much time as I need to work on it. If I can
get the concept working...
Post by RichardWilliamSmith
A data dictionary is only going to give you 1:1 mappings. I think
Mark's on the right track - each tiddler has as many fields as it needs and
each field can contain a list if it needs to. You can write an interface
for entering/editing the information and you can transclude it into the
view however you like. Do you have the original data in some other form? A
spreadsheet for example? There should be a way to automate the creation of
the tiddlers if you do.
Regards,
Richard
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/641645d9-86e1-4fb0-b3c1-ba353fc03faf%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/ce1f4bea-93ed-4a3b-9948-caf8f4ad8289%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-11 19:15:51 UTC
Reply
Permalink
Raw Message
Ok, to make the following work, I made some changes to your en-Cat entry.
It looks like:

caption: Cat
changecount: 5
tags: english Mammal
taijin: [[chun]] [[kaŋi]]
title: en-cat
type: text/vnd.tiddlywiki

;Cat: {{nya{[[chun]]}}}




So I added a caption field (Cat), and a taijin (I don't know what word you
want to use so I guessed) with equivalent words (yes, I know kaŋi isn't
equivalent, but I needed to demonstrate more than one word). And I changed
the title to en-cat rather than en-Cat. The reason the title needed to
change was so that it would match the word in your english field list. TW
let's us add the en- prefix easily enough, but not change capitalization.

After these changes, you can run this code:


\define wordlist(words) <$list filter="$words$"><$link><$view field=title
/></$link>, </$list>
<$list
filter="[tag[Translation]each[english]get[english]addprefix[en-]sort[]]">
<div><b>{{!!caption}}</b>: <$macrocall $name=wordlist words={{!!taijin}}/>
</div>
</$list>



Which will generate a very short lexicon:

*Cat*: chun, kaŋi,
:



As you can see, the second definition (for the entry 'wrong') doesn't show
up, because there is no en-wrong matching tiddler.

So there's some decisions that need to be made about how you want to encode
entries. The way I did it in this example isn't the only possibly way.

About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn

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+***@googlegroups.com.
To post to this group, send email to ***@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/dcf00cc7-5dbf-4bfd-9c67-d504bbe2a404%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-14 18:17:47 UTC
Reply
Permalink
Raw Message
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn

You overestimate my conlanging skills. :D
Post by 'Mark S.' via TiddlyWiki
Ok, to make the following work, I made some changes to your en-Cat entry.
caption: Cat
changecount: 5
tags: english Mammal
taijin: [[chun]] [[kaŋi]]
title: en-cat
type: text/vnd.tiddlywiki
;Cat: {{nya{[[chun]]}}}
So I added a caption field (Cat), and a taijin (I don't know what word you
want to use so I guessed) with equivalent words (yes, I know kaŋi isn't
equivalent, but I needed to demonstrate more than one word). And I changed
the title to en-cat rather than en-Cat. The reason the title needed to
change was so that it would match the word in your english field list. TW
let's us add the en- prefix easily enough, but not change capitalization.
\define wordlist(words) <$list filter="$words$"><$link><$view field=title
/></$link>, </$list>
<$list
filter="[tag[Translation]each[english]get[english]addprefix[en-]sort[]]">
<div><b>{{!!caption}}</b>: <$macrocall $name=wordlist words={{!!taijin}}/>
</div>
</$list>
*Cat*: chun, kaŋi,
As you can see, the second definition (for the entry 'wrong') doesn't show
up, because there is no en-wrong matching tiddler.
So there's some decisions that need to be made about how you want to
encode entries. The way I did it in this example isn't the only possibly
way.
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
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+***@googlegroups.com.
To post to this group, send email to ***@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/9b92a72c-2fa2-4500-979e-a373af68c5dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-15 01:08:41 UTC
Reply
Permalink
Raw Message
Any idea why film and evil aren't showing up in EnglishIndex?
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28

I'm sure it's user error, but I can't see any difference between those two
and the three (cat, here, and wrong) that are showing up.
Post by Silvercat
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
You overestimate my conlanging skills. :D
--
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 ***@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/1731c098-3602-4370-b354-3befaf2926e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-15 03:40:34 UTC
Reply
Permalink
Raw Message
The problem is that the those items in the nyji language don't have
'english' fields -- they have english1 and english2 fields. You can fix
this in the short term by extending the filter:

[tag[Lexeme]each[english]get[english]]
[tag[Lexeme]each[english1]get[english1]]
[tag[Lexeme]each[english2]get[english2]] +[addprefix[en-]sort[]]

The complication is ... is there an upper limit to the english[n] fields?

Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?

When you use the filter above, "film" will still not appear because neither
of the words you have for film (chachykmaŋnyki chiwkiŋam) have english,
english1, or english2 fields containing the word "film".

Good luck!
Mark
Post by Silvercat
Any idea why film and evil aren't showing up in EnglishIndex?
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28
I'm sure it's user error, but I can't see any difference between those two
and the three (cat, here, and wrong) that are showing up.
Post by Silvercat
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
You overestimate my conlanging skills. :D
--
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 ***@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/d603309c-c217-42d6-b911-8aa74551e5b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Lydean Works
2017-08-15 03:43:33 UTC
Reply
Permalink
Raw Message
Ah, I see. I was getting confused cuz I have too many things called
english! (tags, fields...)

Thanks!

On Mon, Aug 14, 2017, 8:40 PM 'Mark S.' via TiddlyWiki <
Post by 'Mark S.' via TiddlyWiki
The problem is that the those items in the nyji language don't have
'english' fields -- they have english1 and english2 fields. You can fix
[tag[Lexeme]each[english]get[english]]
[tag[Lexeme]each[english1]get[english1]]
[tag[Lexeme]each[english2]get[english2]] +[addprefix[en-]sort[]]
The complication is ... is there an upper limit to the english[n] fields?
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?
When you use the filter above, "film" will still not appear because
neither of the words you have for film (chachykmaŋnyki chiwkiŋam) have
english, english1, or english2 fields containing the word "film".
Good luck!
Mark
Post by Silvercat
Any idea why film and evil aren't showing up in EnglishIndex?
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28
I'm sure it's user error, but I can't see any difference between those
two and the three (cat, here, and wrong) that are showing up.
Post by Silvercat
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
You overestimate my conlanging skills. :D
Post by 'Mark S.' via TiddlyWiki
--
You received this message because you are subscribed to a topic in the
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/tiddlywiki/IQvtn9UKeIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
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/d603309c-c217-42d6-b911-8aa74551e5b8%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/d603309c-c217-42d6-b911-8aa74551e5b8%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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+***@googlegroups.com.
To post to this group, send email to ***@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/CAE7YNETBT5WWqX6o_JTUsuwOErZkdVf-0tQ%2B8TyQP3tKVG%3DbJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-15 18:22:22 UTC
Reply
Permalink
Raw Message
Post by 'Mark S.' via TiddlyWiki
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?


Nope. The only reason I did it that way (English, english1, english2) is
cuz I don't know what I'm doing. It looks like there needs to be a change
to the filter because when I do that stuff doesn't show up. That or user
error (my guess is user error).


joztiizz
english [[wrong]] [[evil]]
tags Quality j Lexeme IrregularNoun IrregularCombo Translation Morality
Culture ComboType3 NounType1


en-evil
caption Evil
nyji [[joztiizz]]
tags english Morality


en-wrong
caption Wrong
nyji [[joztiizz]]
tags Quality Morality English


BTW, Mark, do you have a type jar or paypal somewhere? Seems the least I
can do is buy you a coffee or equivalent.
Post by 'Mark S.' via TiddlyWiki
The problem is that the those items in the nyji language don't have
'english' fields -- they have english1 and english2 fields. You can fix
[tag[Lexeme]each[english]get[english]]
[tag[Lexeme]each[english1]get[english1]]
[tag[Lexeme]each[english2]get[english2]] +[addprefix[en-]sort[]]
The complication is ... is there an upper limit to the english[n] fields?
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?
When you use the filter above, "film" will still not appear because
neither of the words you have for film (chachykmaŋnyki chiwkiŋam) have
english, english1, or english2 fields containing the word "film".
Good luck!
Mark
Post by Silvercat
Any idea why film and evil aren't showing up in EnglishIndex?
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28
I'm sure it's user error, but I can't see any difference between those
two and the three (cat, here, and wrong) that are showing up.
Post by Silvercat
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
You overestimate my conlanging skills. :D
--
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 ***@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/8b9a9c52-8bea-4bd3-83ae-2d07c8af680f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-08-15 18:49:55 UTC
Reply
Permalink
Raw Message
Yes. The filter needs to change. You can try this for the list-based
english fields:

<$list filter="[tag[Lexeme]each:list-item[english]sort[]addprefix[en-]]">

HTH
Mark
Post by 'Mark S.' via TiddlyWiki
Post by 'Mark S.' via TiddlyWiki
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?
Nope. The only reason I did it that way (English, english1, english2) is
cuz I don't know what I'm doing. It looks like there needs to be a change
to the filter because when I do that stuff doesn't show up. That or user
error (my guess is user error).
joztiizz
english [[wrong]] [[evil]]
tags Quality j Lexeme IrregularNoun IrregularCombo Translation Morality
Culture ComboType3 NounType1
en-evil
caption Evil
nyji [[joztiizz]]
tags english Morality
en-wrong
caption Wrong
nyji [[joztiizz]]
tags Quality Morality English
BTW, Mark, do you have a type jar or paypal somewhere? Seems the least I
can do is buy you a coffee or equivalent.
Post by 'Mark S.' via TiddlyWiki
The problem is that the those items in the nyji language don't have
'english' fields -- they have english1 and english2 fields. You can fix
[tag[Lexeme]each[english]get[english]]
[tag[Lexeme]each[english1]get[english1]]
[tag[Lexeme]each[english2]get[english2]] +[addprefix[en-]sort[]]
The complication is ... is there an upper limit to the english[n] fields?
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?
When you use the filter above, "film" will still not appear because
neither of the words you have for film (chachykmaŋnyki chiwkiŋam) have
english, english1, or english2 fields containing the word "film".
Good luck!
Mark
Post by Silvercat
Any idea why film and evil aren't showing up in EnglishIndex?
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28
I'm sure it's user error, but I can't see any difference between those
two and the three (cat, here, and wrong) that are showing up.
Post by Silvercat
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
You overestimate my conlanging skills. :D
--
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 ***@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/9a20548d-a442-46b0-9747-9b2bab5d652f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Silvercat
2017-08-15 19:50:49 UTC
Reply
Permalink
Raw Message
Awesome. Thank you!
Post by 'Mark S.' via TiddlyWiki
Yes. The filter needs to change. You can try this for the list-based
<$list filter="[tag[Lexeme]each:list-item[english]sort[]addprefix[en-]]">
HTH
Mark
Post by 'Mark S.' via TiddlyWiki
Post by 'Mark S.' via TiddlyWiki
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?
Nope. The only reason I did it that way (English, english1, english2) is
cuz I don't know what I'm doing. It looks like there needs to be a change
to the filter because when I do that stuff doesn't show up. That or user
error (my guess is user error).
joztiizz
english [[wrong]] [[evil]]
tags Quality j Lexeme IrregularNoun IrregularCombo Translation Morality
Culture ComboType3 NounType1
en-evil
caption Evil
nyji [[joztiizz]]
tags english Morality
en-wrong
caption Wrong
nyji [[joztiizz]]
tags Quality Morality English
BTW, Mark, do you have a type jar or paypal somewhere? Seems the least I
can do is buy you a coffee or equivalent.
Post by 'Mark S.' via TiddlyWiki
The problem is that the those items in the nyji language don't have
'english' fields -- they have english1 and english2 fields. You can fix
[tag[Lexeme]each[english]get[english]]
[tag[Lexeme]each[english1]get[english1]]
[tag[Lexeme]each[english2]get[english2]] +[addprefix[en-]sort[]]
The complication is ... is there an upper limit to the english[n] fields?
Is there a data-based reason that you couldn't put all the words in a
single english list field (e.g. [[film]] [[dust]] ... etc.) ?
When you use the filter above, "film" will still not appear because
neither of the words you have for film (chachykmaŋnyki chiwkiŋam) have
english, english1, or english2 fields containing the word "film".
Good luck!
Mark
Post by Silvercat
Any idea why film and evil aren't showing up in EnglishIndex?
https://drive.google.com/open?id=0B2AstAs9QlRjSnhvU1ktWGF0c28
I'm sure it's user error, but I can't see any difference between those
two and the three (cat, here, and wrong) that are showing up.
Post by Silvercat
Thanks! That helps a lot.
Post by 'Mark S.' via TiddlyWiki
About filters, did you look at the tiddler "Introduction to filter
notation" at Tiddlywiki.com ? I'm sure it's simpler than Ŋyjichɯn
You overestimate my conlanging skills. :D
--
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 ***@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/b0e75f8e-c5dd-443e-847a-da47b1a080fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...