hydrus/help/advanced_parents.html

36 lines
3.5 KiB
HTML
Raw Normal View History

2013-05-08 20:31:00 +00:00
<html>
<head>
<title>advanced - parents</title>
<link href="hydrus.ico" rel="shortcut icon" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="content">
2013-05-15 18:58:14 +00:00
<p class="warning">This is another area under active development right now. I will expand this as I add remote parents.</p>
2013-05-08 20:31:00 +00:00
<h3>what's the problem?</h3>
2013-05-15 18:58:14 +00:00
<p>Tags often fall into certain heirarchies. Files with one certain tags <i>always</i> have certain other tags, and it is annoying and time-consuming to add them all individually every time.</p>
2013-05-08 20:31:00 +00:00
<p>For example, whenever you tag a file with <i>ak-47</i>, you probably also want to tag it <i>assault rifle</i>, and maybe even <i>firearm</i> as well.</p>
<p><img src="tag_parents_venn.png" /></p>
<p>Another time, you might tag a file <i>character:eddard stark</i>, and then also have to type in <i>house stark</i> and then <i>series:game of thrones</i>. (you might also think <i>series:game of thrones</i> should actually be <i>series:a song of ice and fire</i>, but that is an issue for <a href="advanced_siblings.html">siblings</a>)</p>
2013-05-15 18:58:14 +00:00
<p>Drawing more relationships would make a significantly more complicated venn diagram, so let's draw a family tree instead:</p>
2013-05-08 20:31:00 +00:00
<p><img src="tag_parents_got.png" /></p>
<p>If we were to search for the tag <i>house stark</i>, we would expect our results to include all the images of any of the Starks. Even so, it is tedious to have to remember to tag every image of a character with their house affiliation or other parent tags. You may not even remember.</p>
<p>Wouldn't it be great if we could add these sorts of tags at the same time?</p>
<h3>tag parents</h3>
2013-05-15 18:58:14 +00:00
<p>Let's define the relationship 'tag P is tag C's parent' as saying that tag P is the semantic superset/superclass of tag C. <b>All files that have C should have P.</b> Let's say that when the user tries to add a tag to a file, the tag's parents are added recursively.</p>
2013-05-08 20:31:00 +00:00
<p>Let's expand our weapon example:</p>
<p><img src="tag_parents_firearms.png" /></p>
2013-05-15 18:58:14 +00:00
<p>In that graph, adding <i>ar-15</i> to a file would also add <i>semi-automatic rifle</i>, <i>rifle</i>, and <i>firearm</i>. Searching for <i>handgun</i> would return everything with <i>m1911</i> and <i>smith and wesson model 10</i>.</p>
<p>Although characters are an obvious and convenient step, we need to be careful to make sure we only link characters to series if they have unique names, and only if they are <i>inextricably</i> linked with their series. Series with crossovers and spinoffs (like CSI) make this difficult, so measure twice before you cut.</p>
2013-05-08 20:31:00 +00:00
<h3>how you do it</h3>
2013-05-15 18:58:14 +00:00
<p>Go to <i>services->manage tag parents</i>:</p>
<p><img src="tag_parents_dialog.png" /></p>
<p>Which looks and works just like the manage tag siblings dialog.</p>
<p>Once you have some relationships added, the parents and grandparents will show indented anywhere you 'write' tags, such as the manage tags dialog:</p>
<p><img src="tag_parents_ac_1.png" /></p>
<p>Hitting enter on cersei will try to add <i>house lannister</i> and <i>series:game of thrones</i> as well.</p>
<p><img src="tag_parents_ac_2.png" /></p>
<p><b>Tag parents are not strict!</b> If a parent relationship breaks down for whatever reason (e.g. Rule 63 screwing up character->gender), you can de-pend or petition any parent tag, and the client will not try to remove the children. Tag parents are only ever suggestions in write tag autocomplete dropdowns.</p>
2013-05-08 20:31:00 +00:00
</div>
</body>
</html>