ParsingΒΆ
The parser is a simple recursive parser. It creates a series of GedcomElement objects.
# Initialize the parser
data = parser.parse()
- Now the data object contains the parsed data. This is a dictionary with the following fields:
head: the
GedcomHeadobject.submitters: a list of
GedcomSubmitterobjects.individuals: a list of
GedcomIndividualobjects.families: a list of
GedcomFamilyobjects.objects: a list of
GedcomObjectobjects.notes: a list of
GedcomNoteobjects.repository: a list of
GedcomRepositoryobjects.source: a list of
GedcomSourceobjects.