* Sentence construction

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
Rusty
Famous
Posts: 145
Joined: 28 Oct 2004 20:28
Family Historian: V7

Sentence construction

Post by Rusty » 27 Aug 2022 17:36

How can I change the Degree fact to read "He received a degree in economics in 1993 at the University of Hertfordshire"? I've inserted the first 'in' between degree and economics but I can't see how to change the second 'in' to 'at', saying that the degree was received 'in' the University of Hertfordshire doesn't sound right.
Any help out there please?

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: Sentence construction

Post by dewilkinson » 27 Aug 2022 18:46

I did this by creating a Custom Fact called Qualification and used the coctruct <para><On {%FACT.DATE:DAY_OF_WEEK%}>< {date}>< at {_place}> {%CUR_PRIN.NAME[1]:FIRST%} received {his/her}< {note}>. I enter the actual qualification in the Note field, say 1st Class Honours Degree in Nuclear Physics.

{_place} has no prefix, {place} automatically inserts in. In the above <> means the content will only appear if a Place has been entered.

Hope that helps.
David Wilkinson researching Bowtle, Butcher, Edwards, Gillingham, Overett, Ransome, Simpson, and Wilkinson in East Anglia

Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them

User avatar
LornaCraig
Megastar
Posts: 2989
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Sentence construction

Post by LornaCraig » 27 Aug 2022 18:47

'Degree' is not a standard fact so I assume you have either created it as a custom fact or imported it from another program. It would help to know what your existing sentence template is, but:

If "the University of Hertfordshire" is recorded in the Place field, you can use <at {_place}> in your sentence template. The underscore before place means the place will appear without the default 'in' prefix. The angle brackets round the outside mean that the "at" won't appear if there is no place recorded.

If "the University of Hertfordshire" is recorded in the address field, use <at {address}> (no underscore needed).

(Edit: dewilkinson just beat me to it!)
Lorna

User avatar
AdrianBruce
Megastar
Posts: 1961
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Sentence construction

Post by AdrianBruce » 27 Aug 2022 19:10

Just as an extra, sometimes I find that the decision as to whether to use and existing fact type for some data, or create a new one, is driven by considering the "at" / "in" aspect. (People who don't use narrative sentences will not care! ;) ) Sometimes sentences work with "in", and sometimes they don't.

A not dissimilar thing is whether I need to put "the" as the initial part of the attribute value - if I'm using a military type fact, the generated sentence "He was in 633 Squadron" works (value = "633 Squadron") but "He was in Cheshire Regiment" doesn't work - I have to visually check the generated sentence and remind myself to make the value "the Cheshire Regiment" in order to generate "He was in the Cheshire Regiment". (Italics purely for emphasis)
Adrian

avatar
Rusty
Famous
Posts: 145
Joined: 28 Oct 2004 20:28
Family Historian: V7

Re: Sentence construction

Post by Rusty » 28 Aug 2022 06:54

Thank you everyone, a bit of thinking for me to do.

Lorna, the Degree fact is amongst the 'Hidden' fact types, I don't think that I have ever used it before, my earlier generations of ag labs and miners didn't go much on education! {individual} received a degree {value} {date} {place} {age} is the template that it uses.

Lorna, I've just substituted your suggestion of <at {_place}> instead of just {place} and it works fine. Thank you.

User avatar
LornaCraig
Megastar
Posts: 2989
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Sentence construction

Post by LornaCraig » 28 Aug 2022 10:56

Ah, yes I didn't look at the hidden fact types. The Degree fact is in the Extended Set which is not from the standard Gedcom specification but comes installed with FH "primarily for compatibility with some other genealogy programs (when importing data from those programs).... However, they are available for use at any time, if required."

I'm glad you now have the template it set up as you want it.
Lorna

Post Reply