* Sentence Template Codes
-
- Diamond
- Posts: 66
- Joined: 30 Jan 2023 04:33
- Family Historian: V7
- Location: Brussels
- Contact:
Sentence Template Codes
Hello,
In narrative reports, I want to include the witnesses of marriages with their occupation, which is often recorded and a very valuable information.
I found out that I can use the Sentence Template Codes to achieve this, and I was able to create the following sentence:
"Paul SIMON is said to be a Plumber in Antwerp on 1 april 1856 when attending the marriage of Charles JANSSENS and Maria PEETERS in Brussels, "
by using the following structure,
and entering the occupation (and place) in the note field of the witness.
{individual} is qualified as {=GetLabelledText(%CUR~WITN.NOTE2%, "Occupation:")} {date} when attending the marriage of {principal} {place} as witness.
But is it possible to create a sentence with many witnesses saying
"At the marriage of Charles JANSSENS and Maria PEETERS the witnesses were Paul SIMON, plumber in Antwerpen, Anthony VAN ESSEN, lawyer in Ghent, and Karel BOLSENS,
I did not find out how to achieve this.
Any idea ?
In narrative reports, I want to include the witnesses of marriages with their occupation, which is often recorded and a very valuable information.
I found out that I can use the Sentence Template Codes to achieve this, and I was able to create the following sentence:
"Paul SIMON is said to be a Plumber in Antwerp on 1 april 1856 when attending the marriage of Charles JANSSENS and Maria PEETERS in Brussels, "
by using the following structure,
and entering the occupation (and place) in the note field of the witness.
{individual} is qualified as {=GetLabelledText(%CUR~WITN.NOTE2%, "Occupation:")} {date} when attending the marriage of {principal} {place} as witness.
But is it possible to create a sentence with many witnesses saying
"At the marriage of Charles JANSSENS and Maria PEETERS the witnesses were Paul SIMON, plumber in Antwerpen, Anthony VAN ESSEN, lawyer in Ghent, and Karel BOLSENS,
I did not find out how to achieve this.
Any idea ?
I started with Reunion 30 yrs ago, later TMG.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
- tatewise
- Megastar
- Posts: 27626
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Sentence Template Codes
No, that is not possible because the list of Fact Witnesses is composed by the {role=...} codes that only list Names.
It would need an enhancement to the {role=...} codes to allow Fact Witness Notes to be included.
That would be even more complex if various Labelled Notes were to be filtered.
It would need an enhancement to the {role=...} codes to allow Fact Witness Notes to be included.
That would be even more complex if various Labelled Notes were to be filtered.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
-
- Diamond
- Posts: 66
- Joined: 30 Jan 2023 04:33
- Family Historian: V7
- Location: Brussels
- Contact:
Re: Sentence Template Codes
OK and thank you. I was afraid to hear thistatewise wrote: ↑20 Nov 2023 14:59 No, that is not possible because the list of Fact Witnesses is composed by the {role=...} codes that only list Names.
It would need an enhancement to the {role=...} codes to allow Fact Witness Notes to be included.
That would be even more complex if various Labelled Notes were to be filtered.

I started with Reunion 30 yrs ago, later TMG.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
- AdrianBruce
- Megastar
- Posts: 2009
- Joined: 09 Aug 2003 21:02
- Family Historian: V7
- Location: South Cheshire
- Contact:
Re: Sentence Template Codes
If (big if) the Fact Witnesses are name only, then I alter the witnesses' name to be a description, e.g. instead of "Paul Simon" as a name, I enter a "name" of "Paul Simon, plumber of Antwerp".
Sorry if you have Witnesses as Individuals, or a mix of the two types.
Sorry if you have Witnesses as Individuals, or a mix of the two types.
Adrian
- tatewise
- Megastar
- Posts: 27626
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Sentence Template Codes
So Adrian, presumably you are happy with Fact Witnesses not being listed in their own Property Box and Reports?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- ColeValleyGirl
- Megastar
- Posts: 5156
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Sentence Template Codes
As Adrian specifically said his approach applied to 'Name only' witnesses, I'm sure he knows the consequences.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- AdrianBruce
- Megastar
- Posts: 2009
- Joined: 09 Aug 2003 21:02
- Family Historian: V7
- Location: South Cheshire
- Contact:
Re: Sentence Template Codes
Yup. When I use Name-Only witnesses, it's precisely because I don't want them clogging up property boxes, etc. I really don't want the assorted rectors of Nantwich (e.g.) appearing as individuals in my files. What I would like to do is to use their name in the narrative sentence so that my output is consistent - consistent in the sense that I don't forget to record the minister, and consistent in that I'm not scrabbling around for the best phrasing every time.
I'd been using Name-Only witnesses for ages before I twigged that I could happily add some extra text to their name. Admitted that might raise eyebrows at the sort-of-misuse of an item but I'm dubious about how often the data will be used elsewhere.
If a parish priest or registrar turns out to be a relative then I can backtrack and turn the entry into a Witness As Individual. This is so rare that I can accept the risk of having to do that.
Adrian
- tatewise
- Megastar
- Posts: 27626
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Sentence Template Codes
The question was meant to be rhetorical and aimed at others who may be reading this thread to highlight that side effect of Name-only Witnesses.ColeValleyGirl wrote: ↑20 Nov 2023 19:12As Adrian specifically said his approach applied to 'Name only' witnesses, I'm sure he knows the consequences.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- ColeValleyGirl
- Megastar
- Posts: 5156
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Sentence Template Codes
Maybe next time, make that intention clear, Mike. If you address a question to a named individual, it doesnt come across as rhetorical.tatewise wrote: ↑20 Nov 2023 21:44The question was meant to be rhetorical and aimed at others who may be reading this thread to highlight that side effect of Name-only Witnesses.ColeValleyGirl wrote: ↑20 Nov 2023 19:12As Adrian specifically said his approach applied to 'Name only' witnesses, I'm sure he knows the consequences.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
-
- Diamond
- Posts: 66
- Joined: 30 Jan 2023 04:33
- Family Historian: V7
- Location: Brussels
- Contact:
Re: Sentence Template Codes
Excellent idea, Adrian. I have yet to check how the Name Only witnesses appear (or not) in Indexes, etc.AdrianBruce wrote: ↑20 Nov 2023 17:03 If (big if) the Fact Witnesses are name only, then I alter the witnesses' name to be a description, e.g. instead of "Paul Simon" as a name, I enter a "name" of "Paul Simon, plumber of Antwerp".
Sorry if you have Witnesses as Individuals, or a mix of the two types.
I focus a bit on the narrative records, and I have always loved the sentence construction of TMG, secondsite and now of FH, but at the same time, I must be honest: a well-built sentence in a note field is sometimes more explicit and readable than the sentences produced by these algorithms.
I started with Reunion 30 yrs ago, later TMG.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
- ColeValleyGirl
- Megastar
- Posts: 5156
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: Sentence Template Codes
I don't use narrative reports, but agree with you. It's a better use of my time to write a good specific sentence in a Note field when it's needed than it is to wrestle with arcane sentence templates that will never produce a result as good.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- AdrianBruce
- Megastar
- Posts: 2009
- Joined: 09 Aug 2003 21:02
- Family Historian: V7
- Location: South Cheshire
- Contact:
Re: Sentence Template Codes
Also agreed. Just in case anyone hasn't seen this before, I will often replace the generated sentence for a particular event / attribute in a Narrative Report with the contents of the Note for that event / attribute. To do that, alter the sentence for that one event / attribute to readColeValleyGirl wrote: ↑21 Nov 2023 08:02... It's a better use of my time to write a good specific sentence in a Note field when it's needed than it is to wrestle with arcane sentence templates that will never produce a result as good.
<para>{note}
There is a setting to ensure Notes are printed in a narrative report regardless of whether they are in the sentence or not - if you have that set (as I do), then don't worry about the {note} appearing twice - Calico Pie must have sensibly put some specific handling in to stop that happening.
Another trick is when I have 2 or 3 facts for very similar events - for instance, being issued with 3 different campaign medals on the same date. I have 3 different facts so I can search for the 3 medals in queries, but the full narrative details for all 3 are in the Note for the 1st medal only. The 2nd and 3rd then have their sentence set to "Exclude Sentence". NB - you may need to be careful with your source citations to ensure all sources are cited against the 1st medal.
Adrian
-
- Diamond
- Posts: 66
- Joined: 30 Jan 2023 04:33
- Family Historian: V7
- Location: Brussels
- Contact:
Re: Sentence Template Codes
Most interesting, thank you.
I sometimes wonder if I will ever manage to know all the possibilities of FH.
I sometimes wonder if I will ever manage to know all the possibilities of FH.
I started with Reunion 30 yrs ago, later TMG.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.
I now use FH as my main software, TNG and MyHeritage to share my data.
Transkribus to decipher old texts.
Genealogica Grafica, The Complete Genealogy Builder and My Family Tree to view and check my data.