{"id":28286827,"url":"https://github.com/renyuneyun/pp-analyzer","last_synced_at":"2026-06-08T16:32:59.276Z","repository":{"id":293543316,"uuid":"866178329","full_name":"renyuneyun/pp-analyzer","owner":"renyuneyun","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-15T20:54:43.000Z","size":1038,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T01:34:30.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renyuneyun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-01T19:27:16.000Z","updated_at":"2025-06-10T18:31:43.000Z","dependencies_parsed_at":"2025-05-15T21:56:39.712Z","dependency_job_id":null,"html_url":"https://github.com/renyuneyun/pp-analyzer","commit_stats":null,"previous_names":["renyuneyun/pp-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renyuneyun/pp-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renyuneyun%2Fpp-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renyuneyun%2Fpp-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renyuneyun%2Fpp-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renyuneyun%2Fpp-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renyuneyun","download_url":"https://codeload.github.com/renyuneyun/pp-analyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renyuneyun%2Fpp-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34071653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-21T21:14:20.709Z","updated_at":"2026-06-08T16:32:59.270Z","avatar_url":"https://github.com/renyuneyun.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PoliAnalyzer\n\nThis is the repo for PoliAnalyzer, a semantic-centric tool to automatically analyze privacy policies. Conceptually, it contains the following components:\n\n- NLP workflow: Convert from natural-language privacy policies to KG ($Pr^2Graph$), grounded in DPV\n    - LLM pipeline: The key driver for the NLP workflow\n- Formal policy converter: Convert $Pr^2Graph$ to formal policies, namely [ODRL](https://www.w3.org/TR/odrl-model/) and [DToU](https://github.com/OxfordHCC/solid-dtou).\n    - This is performed through SPARQL queries. See `pp-analyze/README.md` for further information\n- User profile analyzer: Check the compliance of users' preferences against formal policies\n\n\u003e The LLM pipeline is in `fine-tune/` dir; the rest is in `pp-analyze/` dir.\n\nPlease refer to individual sub-directories for detailed instructions on how to use them.\n\nAt the moment, there is no GUI. Jupyter notebooks are provided with relevant documentation to explain how to use the system.\n\n\n\n## Content\n\n- `fine-tune`: Tasks for fine-tuning models and evaluating the LLM pipeline are contained in this directory.\n\n- `pp-analyze`: This directory contains user-facing or artifact-creating functionalities of PoliAnalyzer.\n\n- `ppa-commons`: Shared code between `fine-tune` and `pp-analyzer`.\n\n- `visualize`: Code for generating figures for visualization. Mainly for development use, and not generally useful for users.\n\n## Additional resources\n\nThere are some additional resources that may be useful for users browsing this repo, such as by pulling in necessary benchmark datasets or formal policies for compatibility checking.\n\n- Enriched Policy-IE: \\url{https://doi.org/10.5281/zenodo.15392162}\n- $Pr^2Graph$ and formal policies in ODRL and DToU for top-100 websites: \\url{https://doi.org/10.5281/zenodo.20081062}\n\n\n## License\n\nUnless otherwise stated, all source codes are licensed under the Apache-2.0 license.\n\n\n## Citation guideline\n\nThe other resources have their own respective citation guidelines.\n\nTo cite this repository, use the following snippet:\n\n```\n@misc{zhao_renyuneyun_2026,\n  title = {Renyuneyun/Pp-Analyzer},\n  author = {Zhao, Rui},\n  year = 2026,\n  month = may,\n  url = {https://github.com/renyuneyun/pp-analyzer},\n  urldate = {2026-05-08},\n  copyright = {Apache-2.0},\n  keywords = {/unread}\n}\n```\n\nor, if not using BibTeX, you can use the following:\n\n```\nZhao, Rui. Renyuneyun/Pp-Analyzer. October 1, 2024, https://github.com/renyuneyun/pp-analyzer.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenyuneyun%2Fpp-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenyuneyun%2Fpp-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenyuneyun%2Fpp-analyzer/lists"}