GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Join surnames for male and female into

Click to view RSS...
Author
Posted Tuesday, September 17, 2013 - Post #32442
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: Wednesday, June 2, 2021
Posts: 220, Visits: 14,736
Hello, 

I would like to ask if is possible join male and female surname as one in Narrative Report? Currently GenoPro splits them into two distinct surnames in Narrative Report. 

How to do this?

It is called motion in Czech - "přechylování příjmení" http://nase-rec.ujc.cas.cz/archiv.php?art=6153

Thanks


Tags:
Posted Tuesday, September 17, 2013 - Post #32444
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:44 AM
Posts: 3,337, Visits: 25,587
There are already two mechanisms that allow two surnames to be treated as the same 'root' name

Firstly in Dictionary.xml set RootNameAffixes to automatically associate female endings with male surname

<!-- Conversion of masculine/feminine forms of names to a common 'root' name, usually the masculine form.

e.g. for Russian

<RootNameAffixes T="ova$=ov:cka$=cki:"/>

means replace ova at the end of a name with ov and replace cka with cki before sorting or grouping.
The names will still be displayed in their original form

-->

<RootNameAffixes T="" />

If the the names cannot be paired using simple rules as above then you can also define individual pairs in the skin file NameDictionary.xml.  Please read notes in NameDictionary.xml in Narrative Report skin

e.g. example NameDictionary entry

 <N CS=Powerá CS_B=Powerý/>


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Wednesday, September 18, 2013 by genome
Posted Wednesday, September 18, 2013 - Post #32454
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: Wednesday, June 2, 2021
Posts: 220, Visits: 14,736
The conversion with RootNameAffixes would be nice, but it is not easy to write a regular expresion for Czech language. I have got rules to convert from male to female, but not opposite.

The second option is great and suitable.

Thanks for help 
Posted Thursday, September 19, 2013 - Post #32470
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: Wednesday, June 2, 2021
Posts: 220, Visits: 14,736
Last question to this topic. Is possible to define the variants of the surname not in NameDictionary.xml, but in dialog using a custom tag similar as Name.Locative?
Posted Thursday, September 19, 2013 - Post #32473
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:44 AM
Posts: 3,337, Visits: 25,587
There is nothing in place for this at present but it is quite straight-forward for me to implement this.

 I will add provision for custom tag Name.Root in the next release.  Name.Root will have precedence over NameDictionary.xml entry which in turn takes precedence over RootNameAffiixes.

You could therefore use a combination of these.  E.g. use RootNameAffixes whenever possible e.g. regular form names, NameDictionary.xml for common non-regular names an use Name.Root for any others.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, August 3, 2017 - Post #38256
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 10:29 AM
Posts: 251, Visits: 1,670
I added the following line to Dictionary.xml, (and moved the original file to another location), but it's not having the expected/desired effect.

        <!-- Conversion of masculine/feminine forms of names to a common 'root' name, usually the masculine form.

            e.g. for Russian

                <RootNameAffixes T="ова$=ов:ева$=ев:ина$=ин:яя$=ий:ая$=ий:"/>
                <RootNameAffixes T="ης$=η:ος$=ου:ής$=ή:ός$=ού:ας$=α:"/>

             means replace ова at the end of a name with ов, replace ева with ев etc before sorting or grouping.
             The names will still be displayed in their original form

        -->

        <RootNameAffixes T="" />

I tried it with the terms reversed first (η$=ης), and then in the format above, but neither seemed to change the list of names in the Name Index.

Did I not do it properly or not in the right place?  Thanks ..  (-η is the female version, -ης is the male version, etc in the examples above)
Posted Thursday, August 3, 2017 - Post #38257
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:44 AM
Posts: 3,337, Visits: 25,587
Looks like you have added your line to a comment ( <!-- & --> are comment delimiters in XML)

You need to replace the blank entry below that comment with your requirement. i.e. replace

<RootNameAffixes T="" />

with

<RootNameAffixes T="ης$=η:ος$=ου:ής$=ή:ός$=ού:ας$=α:"/>


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, August 3, 2017 - Post #38259
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 10:29 AM
Posts: 251, Visits: 1,670
Ah great ... worked great once I flipped the masculine/feminine forms.

Is there a way I can save that to the .gno file, in case Dictionary.xml gets updated in the future and I forget I have to add that tweak?
Posted Friday, August 4, 2017 - Post #38262
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 11:44 AM
Posts: 3,337, Visits: 25,587
It cannot be saved to .gno. 

Instead I suggest make a copy of the {EN} Narrative Report folder and rename it say {EN} Custom Narrative. However Windows copy does not recreate the junction to the Narrative Common\Code folder but simply creates an empty folder named Code. To remedy this delete this empty Code folder and then when you 1st run the report a new junction link called Code will be created linking to Narrative Common\Code.

Then when you install a new update of GenoPro 2016 your Custom Narrative folder will be unchanged and you can check if the modified date of the newly installed standard Dictionary.xml has changed, if so copy it to your custom folder and reapply the modifications.  


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse