An open API service indexing awesome lists of open source software.

https://github.com/nigelhorne/genealogy-obituary-parser

Extract structured family relationships from obituary text
https://github.com/nigelhorne/genealogy-obituary-parser

cpan genealogy obituaries perl perl5

Last synced: 10 months ago
JSON representation

Extract structured family relationships from obituary text

Awesome Lists containing this project

README

          

![Perl CI](https://github.com/nigelhorne/Genealogy-Obituary-Parser/actions/workflows/test.yml/badge.svg)

# NAME

Genealogy::Obituary::Parser - Extract structured family relationships from obituary text

# VERSION

Version 0.02

# SYNOPSIS

use Genealogy::Obituary::Parse qw(parse_obituary);

my $text = 'She is survived by her husband Paul, daughters Anna and Lucy, and grandchildren Jake and Emma.';
my $data = parse_obituary($text);

# $data = {
# spouse => ['Paul'],
# children => ['Anna', 'Lucy'],
# grandchildren => ['Jake', 'Emma'],
# };

# DESCRIPTION

This module parses freeform obituary text and extracts structured family relationship data
for use in genealogical applications.

# FUNCTIONS

## parse\_obituary($text)

Returns a hashref of extracted relatives.

# AUTHOR

Nigel Horne, ``

# SUPPORT

This module is provided as-is without any warranty.

# LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.