Ferramenta especializada para criação automática de Lexemes na Base de Dados de Institutos Jurídicos.
./main.py
: Rotina para criação de novos lexemas de forma incremental.
Utiliza credenciais OAuth da Base de Dados de Institutos Jurídicos e a biblioteca wikibaseintegrator v0.12.4
.
git clone https://github.com/edpomacedo/bdij-lexemes.git
cd bdij-lexemes
python -m venv venv
.\venv\Scripts\activate
python -m pip install wikibaseintegrator
- Acesse
./venv/Lib/wikibaseintegrator/wbi_config.py
e realize o apontamento das variáveis de acesso. - Insira as credenciais do consumidor OAuth1 no arquivo
config.py
. - Oriente-se pelos comentários no código para indicar o intervalo de criação de lexemas.
- Execute o comando
python main.py
.
A versão atual se destina a criação de novos lexemas para registrar a malha de dispositivos da legislação brasileira.
- Faça um fork do projeto
- Crie uma branch para a sua feature (
git checkout -b feature/nova-feature
) - Faça commit das suas alterações (
git commit -am 'Adicione uma nova feature'
) - Faça push para a branch (
git push origin feature/nova-feature
) - Crie um novo Pull Request
Copyright 2023 EDPO AUGUSTO FERREIRA MACEDO
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.