Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Character names normalization #3

Open
hbredin opened this issue Apr 7, 2014 · 0 comments
Open

Character names normalization #3

hbredin opened this issue Apr 7, 2014 · 0 comments

Comments

@hbredin
Copy link
Member

hbredin commented Apr 7, 2014

@guinaudeau Character names are not normalized in "manual_transcript" graphs.
To solve this problem, one could distribute a mapping file in "PluginRootDir/GameOfThrones/data/mapping.txt" that can be accessed in the plugin like that:

from pkg_resource import resource_filename
def manual_transcript(...):
    pathToMappingFile = resource_filename(self.__class__.name__, 'data/mapping.txt')
    ...
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant