{"id":19903442,"url":"https://github.com/zdavatz/fachinfo_ai","last_synced_at":"2026-06-12T05:32:09.877Z","repository":{"id":55009419,"uuid":"81587398","full_name":"zdavatz/fachinfo_ai","owner":"zdavatz","description":"Doing NLTK and AI on Swiss Fachinfos with Python.","archived":false,"fork":false,"pushed_at":"2025-10-15T14:38:46.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-16T11:47:15.482Z","etag":null,"topics":["ai","fachinfo","nltk","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zdavatz.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-02-10T17:08:12.000Z","updated_at":"2025-10-15T14:38:49.000Z","dependencies_parsed_at":"2024-11-12T20:25:21.044Z","dependency_job_id":"08aef6c5-bca9-49a4-a826-d14f92fdca30","html_url":"https://github.com/zdavatz/fachinfo_ai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zdavatz/fachinfo_ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Ffachinfo_ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Ffachinfo_ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Ffachinfo_ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Ffachinfo_ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdavatz","download_url":"https://codeload.github.com/zdavatz/fachinfo_ai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdavatz%2Ffachinfo_ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33925531,"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-04T02:00:06.755Z","response_time":64,"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":["ai","fachinfo","nltk","python"],"created_at":"2024-11-12T20:23:46.813Z","updated_at":"2026-06-12T05:32:09.873Z","avatar_url":"https://github.com/zdavatz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fachinfo_ai\nDoing NLTK and AI on Swiss Fachinfos with Python. Parsing all the important words from all FIs in Switzerland.\n#### Requirements:\n* List of stopwords in folder input (filename: stopwords.txt)\n* Amiko sqlite DB in folder dbs (filename: amiko_db_full_idx_de.db)\n\n#### Setup:\n* Create `dbs` dir and put the files `amiko_db_full_idx_de.db` and `amiko_db_full_idx_fr.db` generated with [cpp2sqlite](https://github.com/zdavatz/cpp2sqlite) there.\n* From `$SRC_DIR` run with `/usr/local/bin/python3 smartinfo.py --lang=de`\n\n#### Output:\n* Frequency csv file in folder output (filename: frequency.csv)\n* Auto-generated stopwords file in folder output (filename: auto_stopwords.csv)\n\n#### Requirements for Linux\n* pip install nltk, bs4, lxml\n* import nltk\n* nltk.download('stopwords','punkt')\n\n#### For Mac\n* https://github.com/sashkab/homebrew-python\n```\nbrew tap sashkab/python\nbrew install python35\ncd $HOME/software\nwget https://bootstrap.pypa.io/get-pip.py\nsudo /usr/local/opt/python35/bin/python3.5 $HOME/software/get-pip.py\nsudo /usr/local/Cellar/python35/3.5.6_2/Frameworks/Python.framework/Versions/3.5/bin/pip3.5  install nltk\nsudo /usr/local/Cellar/python35/3.5.6_2/Frameworks/Python.framework/Versions/3.5/bin/pip3.5  install bs4\nsudo /usr/local/Cellar/python35/3.5.6_2/Frameworks/Python.framework/Versions/3.5/bin/pip3.5  install lxml\n/usr/local/opt/python35/bin/python3.5\ncd $SRC\nmkdir dbs\n```\nin the Python interactive shell do `import nltk` and then do `nltk.download('stopwords')` and `nltk.download('punkt')`\nthen run `/usr/local/opt/python35/bin/python3.5 smartinfo.py --lang=fr`\n\nwith Python 3.13.8 you also need to do: `nltk.download('punkt_tab')`\n\n\n#### sqlite Database to download under the GPLv3.0 License\n* http://pillbox.oddb.org/amiko_frequency.db\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdavatz%2Ffachinfo_ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdavatz%2Ffachinfo_ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdavatz%2Ffachinfo_ai/lists"}