{"id":19162765,"url":"https://github.com/centre-for-humanities-computing/friths","last_synced_at":"2026-02-28T18:02:30.711Z","repository":{"id":238532720,"uuid":"715110728","full_name":"centre-for-humanities-computing/friths","owner":"centre-for-humanities-computing","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-01T08:29:54.000Z","size":16362,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T00:02:11.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/centre-for-humanities-computing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-06T13:55:44.000Z","updated_at":"2024-05-06T14:22:59.000Z","dependencies_parsed_at":"2024-05-06T17:08:09.964Z","dependency_job_id":null,"html_url":"https://github.com/centre-for-humanities-computing/friths","commit_stats":null,"previous_names":["centre-for-humanities-computing/friths"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/centre-for-humanities-computing/friths","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Ffriths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Ffriths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Ffriths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Ffriths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centre-for-humanities-computing","download_url":"https://codeload.github.com/centre-for-humanities-computing/friths/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Ffriths/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29946463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T17:57:52.716Z","status":"ssl_error","status_checked_at":"2026-02-28T17:57:31.974Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-09T09:13:07.005Z","updated_at":"2026-02-28T18:02:30.690Z","avatar_url":"https://github.com/centre-for-humanities-computing.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Friths\nGet started using `bash dev_setup.sh`\n\nThe project is structured following the [cookiecutter data science template](https://github.com/drivendata/cookiecutter-data-science/tree/master).\n\n\u003cbr\u003e\n\n## Pipelines\n### Publications Pipeline\nRun using `make publications`\n\nInput: publication PDFs (`data/raw/UTA publications`)\n\nManual work required to keep most data:\n- Export scanned files (`failed_pdf_paths.txt`) with \"Embed text\" (Sofie)\n- Manually convert or fix non-pdf files (`non_pdf_paths.txt`)\n\nPipeline:\nA) `dataset/parse_publications.py`\nWe try to extract information using `scipdf`, which has a java dependency `grobid`.\nIf unsuccessful, the file will get added to `failed_pdf_paths.txt` \u0026 OCR'd later (no metadata avilable then).\n\nB) `dataset/ocr_failed_pdf.py`\nRuns OCR using `pytesseract`.\nOutputs are saved separately from the parsed files.\n\nC1) `dataset/metadata_publications.py`\nGenerates metadata \u0026 document ids separately for both file types (PARSING and OCR).\nMost importatly, tries to reconstruct the publication year.\nOtherwise, just takes the metadata found by `scipdf` (PARSING files only), or adds blank columns (OCR files only)/\n\nC2) `dataset/fetch_scopus.py`\nFetches metadata from the Scopus API, given author IDs.\n\nC3) `dataset/metadata_scopus.py`\nMerges PARSING metadata with records extracted from Scopus (`data/raw/ScopusExport_{author_id}_{date}.csv`)\n\nD) `dataset/concat_publications.py`\nConcatenates article sections into a single block of text.\nCreates files with the extracted abstracts.\nMerges:\n    - PARSING and OCR files.\n    - PARSING and OCR metadata files.\n    - PARSING and OCR abstract files.\n\nE) `dataset/quality_checks_publications.py`\nAdds info about language \u0026 text descriptive stats into the metadata.\n\nF) `features/run_embeddings.py`\nGet embeddings from OpenAI\n\n\nAnalysis:\n`notebooks/experiment_abstracts.ipynb`\n`notebooks/experiment_infodynamics.ipynb`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentre-for-humanities-computing%2Ffriths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentre-for-humanities-computing%2Ffriths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentre-for-humanities-computing%2Ffriths/lists"}