Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpriskorn/lexso
Script to match Wikidata lexemes to the dictionary Svenska Ord
https://github.com/dpriskorn/lexso
Last synced: 4 days ago
JSON representation
Script to match Wikidata lexemes to the dictionary Svenska Ord
- Host: GitHub
- URL: https://github.com/dpriskorn/lexso
- Owner: dpriskorn
- License: gpl-3.0
- Created: 2021-08-31T21:38:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T02:32:45.000Z (6 months ago)
- Last Synced: 2024-12-19T09:27:53.804Z (17 days ago)
- Language: Python
- Size: 874 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LexSO
**Note: [a bot request has been filed](https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot#So9qBot_6)**Add SO identifier to Wikidata Lexemes [Wikidata Property:P9837](https://www.wikidata.org/wiki/Property:P9837).
This script is maybe not that useful to run for anyone else besides the author in its current form. It is shared here to help others get started writing scripts to improve Wikidata.
It would be interesting to edit it to monitor the SO website for newly published articles/words.
This script can easily be modified to create new lexemes for every word found in the list from SO. Unfortunately that is not legal because of the database protection law.
## Thanks
Big thanks to Magnus Sälgö for reverse engineering of the SAOB website to make this possible. <3## Requirements
See the requirements fileInstall using pip:
`$ sudo pip install -rIf pip fails with errors related to python 2.7 you need to upgrade your OS. E.g. if you are using an old version of Ubuntu like 18.04.
## Getting started
Please create a bot password for running the script for
safety reasons here: https://www.wikidata.org/wiki/Special:BotPasswordsCopy config.example.py to config.py yourself and adjust the following
content:username = "username"
password= "password"# License
All code except get_so_list.py is GPLv3+