User Tools

Site Tools


doc:en:search

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:en:search [2020/06/18 13:14]
rosmord [Searching in the current document]
doc:en:search [2020/06/18 14:04] (current)
rosmord [The * wildcard]
Line 25: Line 25:
  
 {{ :​doc:​en:​finddialog1.png?​nolink |Simple search}} {{ :​doc:​en:​finddialog1.png?​nolink |Simple search}}
 +
 +By default, the search will look for //​sequences//​ of signs, regardless of their layout. If you want to search
 +for a specific layout, check the **Whole Quadrant Match** box.
 +
 +===== Advanced Search for Hieroglyphic Text =====
 +
 +You will notice a number buttons below the text field. They allow you to include more variability in the text you are looking for.
 +
 +==== The "​*"​ wildcard ====
 +
 +The "​*"​ button allows you to search for sequences of non-strictly consecutive signs. For instance, ๐“น"​*"​๐“ will search for sequences of signs containing ๐“น, then possibly a number of other signs, then ๐“. 
 +
 +
 +{{ :​doc:​en:​starsearch.png?​nolink |Search with the "​star"​ wildcard}}
 +
 +As the search will find any corresponding sequence of signs, //​regardless of its length//, you may end up with unexpected results - matching a ๐“น in the second line of your text, and a ๐“ in the fiftieth. To avoid this, you can 
 +limit the length of the expected result. For instance, if you want to allow at most two signs between ​
 +๐“น and ๐“, you may limit the result length to four signs, as is done in the example above, using the **Max match length** field.
 +
 +A search string can contain multiple "​*"​ if you want.
 +
 +
 +If **Max match length** is 0, it will be understood as "no limit"​.
 +
 +**note:** the "​*"​ wildcard has nothing to do with the //Manuel de Codage// code "​*"​ for grouping signs.
 +
 +==== The "​[...]"​ button ====
 +
 +This buttons allows you to introduce variation in the signs you want to find. The system will search for any **one** of the signs between the [...].
 +
 +For instance, "​๐“Šช[๐“ฒ๐“…ฑ]"​ will search both for ๐“Šช๐“ฒ and for ๐“Šช๐“…ฑ.
 +
 +==== Variants in searches ====
 +
 +If you select "​Extended variants",​ search result will include texts which contain **any** variant of your signs **as recorded in JSesh.**
 +
 +As ๐“ฒ and ๐“…ฑ are considered as variants, the following search will find occurrences of both ๐“Šช๐“ฒ and ๐“Šช๐“…ฑ.
 +
 +Compared to the use of [...], this system is less precise ([...] allows you to specify exactly what you are looking for). It might be more exhaustive in some cases. It's however dependent on the quality of JSesh sign descriptions. The current information about variant is still very lacunar - sign descriptions require a lot of work.
 +
 +{{ :​doc:​en:​variantsinsearch.png?​nolink |Search, including variants}}
 +
 +Any kind of recorded variants will be used, as well as variants of variants. It is expected that a more precise system will be implemented at some point.
 +
 +
 +
 +===== Search in non-hieroglyphic texts =====
 +
 +Search is no longer restricted to the hieroglyphs. If you have typed translation or transliterations,​ you can search them too...
 +
 +Select **search in alphabetic texts**...
 +
 +{{ :​doc:​en:​textsearch.png?​nolink |Selection of type of search}}
 +
 +
 +Then type your text (search will disregard case) :
 +{{ :​doc:​en:​searchamon.png?​nolink |Searching for non-hieroglyphic texts}}
 +
 +
 +===== Search in folders =====
 +
 +This is a very powerful feature of JSesh : it can search in all the glyph files contained in a folder (and its sub-folders). In a way, you can use your texts (including translations typed in JSesh) as a kind of rough linguistic database.
 +
 +To use this function, use the menu **Edit/Find in Folder**. Then select the "​root"​ folder for your search. ​
 +In the example below, I'm looking for attestation of Atum, using a fairly generic wildcard. Note the use of [...] to include variant signs (some possible determinatives are however missing in this search, I leave it to the interested reader as an exercice). Also note the length I have set to limit the //false positive// results. Remember that this length includes the whole result, not only the part skipped over by the "​*"​.
 +
 +{{ :​doc:​en:​foldersearch.png?​nolink |Search in folders}}
 +
 +
 +Once the search is started, the occurrences will appear in the list below the search form. Double-clicking on an occurrence will open the corresponding document.
 +
 +
  
doc/en/search.1592478843.txt.gz ยท Last modified: 2020/06/18 13:14 by rosmord