{"id":19033222,"url":"https://github.com/mrsuh/rent-parser","last_synced_at":"2025-04-23T17:09:43.599Z","repository":{"id":82961487,"uuid":"88721171","full_name":"mrsuh/rent-parser","owner":"mrsuh","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-03T06:44:02.000Z","size":1748,"stargazers_count":18,"open_issues_count":0,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T17:09:37.673Z","etag":null,"topics":["fasthttp","golang","socrent","tomita"],"latest_commit_sha":null,"homepage":"https://mrsuh.com/projects/socrent/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrsuh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-04-19T08:35:50.000Z","updated_at":"2024-12-01T19:01:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"32860350-51b9-4f56-bfed-7b398f9da92c","html_url":"https://github.com/mrsuh/rent-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsuh%2Frent-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsuh%2Frent-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsuh%2Frent-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsuh%2Frent-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsuh","download_url":"https://codeload.github.com/mrsuh/rent-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250477811,"owners_count":21437049,"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","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":["fasthttp","golang","socrent","tomita"],"created_at":"2024-11-08T21:36:16.370Z","updated_at":"2025-04-23T17:09:43.583Z","avatar_url":"https://github.com/mrsuh.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rent parser\n\n## Quick start with Docker\n```bash\ndocker run -p 9080:9080 -d mrsuh/rent-parser\ncurl -X POST -d 'сдаю двушку за 30 тыс в месяц' 'http://127.0.0.1:9080/parse'\n{\"type\":2,\"price\":30000}\n```\n\n### Types\n* 0 - комната\n* 1 - 1 комнатная квартира\n* 2 - 2 комнатная квартира\n* 3 - 3 комнатная квартира\n* 4 - 4+ комнатная квартира\n\n\n## Compilation from source code\n\n### Generate configs and load [Yandex Tomita parser](https://github.com/yandex/tomita-parser)\n```bash\nsh bin/deploy.sh\n```\n\n### Configure\n* config/config.yml\n* tomita/{price, type}/config.proto\n\n### Compile\n```bash\nsh bin/compile.sh\n```\n\n### Run\n```bash\nbin/server /config/config.yml\n```\n\n## Tests\n```bash\ntime python tests/test.py --parser-url 'http://127.0.0.1:9080' --test-file 'go/src/rent-parser/tests/tests.yml' --process-count 4\n=== RESULT ===\nTotal tests: 8000\nValid types: 7475 (93.44%)\nValid prices: 5302 (66.28%)\n\nreal    35m23.099s\nuser    0m42.048s\nsys     0m2.529s\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsuh%2Frent-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsuh%2Frent-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsuh%2Frent-parser/lists"}