cjcodeproj / medialibrary

Python code to read XML media files
MIT License
2 stars 0 forks source link

Comparator functionality for story settings #153

Open cjcodeproj opened 8 months ago

cjcodeproj commented 8 months ago

Once the settings element has been coded, the comparator code base should be extended to allow comparisons between settings in movies.

IE, if the comparator evaluated these two films.

Film Year Location Setting Time Setting
To Live And Die in L.A. 1985 Los Angeles, CA present time
L.A. Confidential 1997 Los Angeles, CA 1950s

Then the movies should be considered similar because they occur in the same location. However, they do not occur in the same time frame.

The code needs two different metrics to perform an in-depth comparison on the <where> values and the <when> values. The comparison does not need to be a perfect 100% match, but there needs to be some floating in-between to suggest that the films may be partially matched.

Related to ticket #80