{"id":31045103,"url":"https://github.com/dativebase/old-parser-research","last_synced_at":"2025-09-14T16:57:49.410Z","repository":{"id":15462520,"uuid":"18195663","full_name":"dativebase/old-parser-research","owner":"dativebase","description":"Scripts for doing morphological parser-based research via an OLD web service","archived":false,"fork":false,"pushed_at":"2014-07-28T14:52:04.000Z","size":292,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T23:58:11.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dativebase.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}},"created_at":"2014-03-27T23:55:54.000Z","updated_at":"2018-02-11T23:26:41.000Z","dependencies_parsed_at":"2022-08-27T07:50:29.825Z","dependency_job_id":null,"html_url":"https://github.com/dativebase/old-parser-research","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dativebase/old-parser-research","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dativebase%2Fold-parser-research","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dativebase%2Fold-parser-research/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dativebase%2Fold-parser-research/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dativebase%2Fold-parser-research/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dativebase","download_url":"https://codeload.github.com/dativebase/old-parser-research/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dativebase%2Fold-parser-research/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275136757,"owners_count":25411709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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-09-14T16:57:48.469Z","updated_at":"2025-09-14T16:57:49.401Z","avatar_url":"https://github.com/dativebase.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"OLD Parser Research\n===================\n\nThe OLD Parser Research library contains utilities and examples to help\nwith performing research involving the morphological parser\nfunctionality of a live OLD application.\n\nUsing `oldclient.py`\n--------------------\n\nProbably the most useful general-purpose script is `oldclient.py` which\nis a thin OLD-specific wrapper around the Python Requests library. This\nmodule facilitates HTTP-based interaction with a live OLD web service.\nAssuming that you have an OLD web service\n(\u003chttps://github.com/jrwdunham/old\u003e) being served at 127.0.0.1 on port\n5000, an example of usage of `oldclient.py` is as follows:\n\n    \u003e\u003e\u003e import oldclient\n    \u003e\u003e\u003e old = oldclient.OLDClient('127.0.0.1', '5000')\n    \u003e\u003e\u003e old.login('yourusername', 'yourpassword') # True\n    \u003e\u003e\u003e forms = old.get('forms') # `forms` is a list of dicts\n    \u003e\u003e\u003e forms[0]['transcription'] # u'transcription value'\n\nExample foma phonology scripts in resources/\n--------------------------------------------\n\nThe `resources/` directory contains example phonology scripts written in\nthe regular expression rewrite rule formalism accepted by FST programs\nlike foma and XFST. Example usage is as follows:\n\n    $ foma\n    foma[0]: source resources/blackfoot_phonology_frantz91.script\n    foma[0]: regex phonology ;\n    foma[1]: down nit-ihpiyi # Returns nitsspiyi and nitsiihpiyi\n\nSee the foma page (\u003chttps://code.google.com/p/foma/\u003e) for more details.\n\nOther potentially useful files\n------------------------------\n\n### researcher.py\n\nModule that defines the `ParserResearcher` class which represents an OLD\nresearcher which creates form searches, corpora, phonologies,\nmorphologies, LMs, and parsers, and which provides conveniences for\nstoring representations of these locally and for parsing and testing\nparsers.\n\n### blackfoot\\_research.py\n\nExecutable that exemplifies using the functionality in `researcher.py`\n(and in `oldclient.py`) in order to perform parser-based research on a\nspecific language via an OLD web service. While language-specific and\nrife with ad hoc code, it may be useful as an example.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdativebase%2Fold-parser-research","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdativebase%2Fold-parser-research","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdativebase%2Fold-parser-research/lists"}