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: Monday, November 21, 2016
Posts: 219, Visits: 14,705
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.0.1.0

Last Login: Yesterday @ 1:41 PM
Posts: 2,520, Visits: 17,931
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: Monday, November 21, 2016
Posts: 219, Visits: 14,705
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: Monday, November 21, 2016
Posts: 219, Visits: 14,705
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.0.1.0

Last Login: Yesterday @ 1:41 PM
Posts: 2,520, Visits: 17,931
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 03, 2017 - Post #38256
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.0

Last Login: Tuesday, October 31, 2017
Posts: 163, Visits: 844
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 03, 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.0.1.0

Last Login: Yesterday @ 1:41 PM
Posts: 2,520, Visits: 17,931
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 03, 2017 - Post #38259
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.0

Last Login: Tuesday, October 31, 2017
Posts: 163, Visits: 844
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 04, 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.0.1.0

Last Login: Yesterday @ 1:41 PM
Posts: 2,520, Visits: 17,931
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