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

GenoPro Support Forum




Pronoun setting used for PhCollectionMFU

Click to view RSS...
Author
Posted Friday, July 13, 2012 - Post #30368
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers

Last Login: Sunday, October 16, 2016
Posts: 5, Visits: 35
I would need to edit the pronoun for this phrase, but can't figure where the parser gets it.



<!-- Collection summary by male, females and unknown gender, followed by the names in HTML format.
    Example: "a brother and two sisters, named Benoit, Anne and Estelle"
    0=males, 1=females, 2=unknown gender, 3=names in html format, 4=all females?, 5=more than 1 in total?
Test={0}=a brother, {1}=two sisters, {2}=, {3}=<a href='Benoit.htm'>Benoit</a>, <a href='Anne.htm'>Anne</a> and <a href='Estelle.htm'>Estelle</a>, {4}=Y|, {5}=Y| -->

<PhCollectionMFU T="{0}[[{?0} and ]{1}][[{?0|1}, and also ]{2}][[{?0^1},] named {3h}]" />



This part seems to be used both for individuals (e.g. He has two sisters...) and for relationships (e.g. They have two sons...). Would someone happen to know which line in Dictionary.xml selects the pronoun to be printed out in report (e.g. He or They)?

Thanks!
Posted Sunday, July 15, 2012 - Post #30370
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: 1 hour ago
Posts: 3,347, Visits: 25,661
Pronouns are taken from the following Dictionary.xml entries

<PnP_M T="he" P="they" V="2.0.1.7RC8±" /> 
<PnP_F T="she" P="they" V="2.0.1.7RC8±"/>
<PnP_P T="he/she" P="they" V="2011.09.25+"/>
<PnP_ T="he/she" P="they"/>
<PnP_N T="it" P="they" V="2.0.1.7RC8±"/>


The T attribute of PnP_M/PnP_F entries for single male/female (i.e. he/she) and the P attribute of PnP_ entry for couples (i.e. they)


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, July 15, 2012 - Post #30371
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers

Last Login: Sunday, October 16, 2016
Posts: 5, Visits: 35


Thank you for your answer.

I have noticed those and already translated them, but it's not enough. I would need to somehow achieve some more grammatical cases (http://en.wikipedia.org/wiki/Finnish_noun_cases). 

I have already specified the following:

<PnP_M T="hän" /> 
<PnP_F T="hän" />
<PnP_ T="hän" P="he"/>
<PnP_N T="se" />

<PnR_M T="hänen" /> 
<PnR_F T="hänen" /> 
<PnR_ T="hänen" P="heidän"/> 
<PnR_N T="sen" />

<PnO_M T="hänelle" /> 
<PnO_F T="hänelle" /> 
<PnO_ T="hänelle" P="heille"/>
<PnO_N T="sille" />

Also, changed

<!-- 0= Personal Pronoun, 2=have/had, 3=html list of Males, Females & Unknowns-->
<PhMalesFemalesUnknowns T="{  }{\U}{!0} {!1} {2h}." />

to

<PhMalesFemalesUnknowns T="{  }{\U}{!0}[{?0=hän}ellä] {!1} {2h}." />


So I would need to achieve something similar for the pronoun used for PhCollectionMFU.

Example.

They have two daughters...
Heillä on kaksi tytärtä...

Now it just says

He on kaksi tytärtä...


in the report.

Any luck I could get this adessive case working? Here is a link to different grammatical cases of for Finnish word "he" (=they):

Posted Sunday, July 15, 2012 - Post #30372
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: 1 hour ago
Posts: 3,347, Visits: 25,661
Try changing 
<PhSpousesAndChildren T="{ &#32;}{\U}{!0}[{?4} ]{!4}[ {!1} {2h}][{?2^3}, and ]{3h}." />
to 
<PhSpousesAndChildren T="{ &#32;}{\U}{!0}[{?0=hän}ellä][{?0=he}illä][{?4} ]{!4}[ {!1} {2h}][{?2^3}, and ]{3h}." />



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, July 15, 2012 - Post #30373
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers

Last Login: Sunday, October 16, 2016
Posts: 5, Visits: 35

That seems to do the trick. Thanks again!
Posted Wednesday, October 24, 2012 - Post #30819
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Wednesday, October 24, 2012
Posts: 1, Visits: 2
genome (15-Jul-2012)
Try changing 
<PhSpousesAndChildren T="{ &#32;}{\U}{!0}[{?4} ]{!4}[ {!1} {2h}][{?2^3}, and ]{3h}." />
to 
<PhSpousesAndChildren T="{ &#32;}{\U}{!0}[{?0=hän}ellä][{?0=he}illä][{?4} ]{!4}[ {!1} {2h}][{?2^3}, and ]{3h}." />




Give me short description for this. I didn't get this.

local commercial


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse