Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Updates to the PresidioSentenceGenerator #72

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Commits on Aug 2, 2022

  1. Map DOMAIN_NAME entity to URL

    Map NATIONALITY entity to NRP not to LOCATION
    Change dict literals to dict constructors to improve readability
    Robbie-Palmer committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    56ab9a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Add PresidioFakeRecordGenerator class

    Asa higher level abstraction over PresidioDataGenerator for utilising all templates and providers in this library
    Robbie-Palmer committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    f538bc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e8eec3 View commit details
    Browse the repository at this point in the history
  3. Update PresidioAnalyzerWrapper to use the provided language in the de…

    …fault AnalyzerEngine
    
    Validate chosen language is available in provided AnalyzerEngine
    Robbie-Palmer committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    5bfca66 View commit details
    Browse the repository at this point in the history
  4. Format span_to_tag.py

    Robbie-Palmer committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    79f796a View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    146dc63 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Map DOMAIN_NAME entity to URL

    Map NATIONALITY entity to NRP not to LOCATION
    Change dict literals to dict constructors to improve readability
    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    6863e19 View commit details
    Browse the repository at this point in the history
  2. Add PresidioFakeRecordGenerator class

    Asa higher level abstraction over PresidioDataGenerator for utilising all templates and providers in this library
    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    b5efd1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04a43fe View commit details
    Browse the repository at this point in the history
  4. Update PresidioAnalyzerWrapper to use the provided language in the de…

    …fault AnalyzerEngine
    
    Validate chosen language is available in provided AnalyzerEngine
    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    7818b28 View commit details
    Browse the repository at this point in the history
  5. Format span_to_tag.py

    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    279ca75 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ddf8e72 View commit details
    Browse the repository at this point in the history
  7. Strip whitespace from ends of template files in PresidioDataGenerator

    Update PresidioDataGenerator tests to make stronger assertions about contents of results
    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    a385403 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6aede14 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e6c09fd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4afd7c0 View commit details
    Browse the repository at this point in the history
  11. Expose ReligionProvider from faker_extensions package

    Update PresidioFakeRecordGenerator to use ReligionProvider
    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    76c24b7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fd7bc88 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c5e22f3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c0ea8da View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    798c9e5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e2f1e34 View commit details
    Browse the repository at this point in the history
  17. Merge remote-tracking branch 'origin/fake-record-generator' into fake…

    …-record-generator
    
    # Conflicts:
    #	presidio_evaluator/data_generator/__init__.py
    #	presidio_evaluator/data_generator/faker_extensions/providers.py
    #	presidio_evaluator/data_generator/presidio_data_generator.py
    Robbie-Palmer committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    6731399 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. Configuration menu
    Copy the full SHA
    b7fbec1 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Fix grammar in 1_Generate_data.ipynb

    Co-authored-by: melmatlis <93650751+melmatlis@users.noreply.github.com>
    Robbie-Palmer and melmatlis committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    7fc5bfe View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. Make it possible to use PresidioFakeRecordGenerator without the defau…

    …lt providers and templates
    Robbie-Palmer committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    407718d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57d3279 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'upstream/master' into fake-record-gener…

    …ator
    
    # Conflicts:
    #	presidio_evaluator/data_generator/presidio_data_generator.py
    Robbie-Palmer committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    ae56da6 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    ce59376 View commit details
    Browse the repository at this point in the history
  2. Rename PresidioDataGenerator to SentenceFaker

    Rename PresidioFakeRecordGenerator to PresidioSentenceFaker to distinguish it from `RecordGenerator`
    Robbie-Palmer committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    8041123 View commit details
    Browse the repository at this point in the history
  3. Minimize the responsibilities of SentenceFaker

    Move functions for loading data from FakeNameGenerator.com in faker format into new datasets.py module
    Move logic for choosing templates out of SentenceFaker into PresidioSentenceFaker
    Remove generic read file function
    Add missing HospitalProvider
    Update Recognizer tests to use PresidioSentenceProvider
    Robbie-Palmer committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    97049ee View commit details
    Browse the repository at this point in the history
  4. Move SentenceFaker into faker_extensions package

    Make single module to hold all sentence semantic dependency logic for Faker, including SentenceFaker, RecordGenerator and RecordsFaker
    Robbie-Palmer committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    63dfa38 View commit details
    Browse the repository at this point in the history
  5. Fix imports

    Robbie-Palmer committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    3c1cc48 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ba327e8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a30342a View commit details
    Browse the repository at this point in the history
  8. Add support for providing your own base records for PresidioSentenceF…

    …aker
    
    Rename faker_to_presidio_entity_type to ENTITY_TYPE_MAPPING
    Make presidio_templates_file_path and presidio_additional_entity_providers available from package
    Update Data Generation README to outline choices
    Robbie-Palmer committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    9795d8c View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    c36f722 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #50 from Robbie-Palmer/fake-record-generator

    PresidioSentenceFaker
    omri374 committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    1be5e86 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. Updates to the PresidioSentenceGenerator

    Omri Mendels committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    3ab11e5 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/data-generator-2.1' into fake-re…

    …cord-generator
    
    # Conflicts:
    #	presidio_evaluator/data_generator/faker_extensions/sentences.py
    Omri Mendels committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    9aef763 View commit details
    Browse the repository at this point in the history
  3. added additional entities to mapping

    Omri Mendels committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    e68b6b0 View commit details
    Browse the repository at this point in the history