Artificial-Intelligence-And-Open-Science-In-Research-Software-Engineering
Repository for Artificial Intelligence And Open Science In Research Software Engineering subject
Licence (CC0-1.0 license)
Citation
APA
García Velasco, A. Artificial Intelligence And Open Science In Research Software Engineering [Computer software]. https://github.com/aloncrack7/AI-Open-Science-Research-Software-Engineering
BibTex
@software{Garcia_Velasco_Artificial_Intelligence_And,
author = {García Velasco, Alonso},
license = {CC0-1.0},
title = {{Artificial Intelligence And Open Science In Research Software Engineering}},
url = {https://github.com/aloncrack7/AI-Open-Science-Research-Software-Engineering}
}
Docker compose (Recomended aproach)
All will be install and run via:
docker compose up -d --build
After running he containers you can make sure the program was executed correctly using:
docker logs client
Note (clients is not consitent the firts few times is launch, please make sure to run it a few times with the followign command and see the logs produced afterwars, tends to work better using docker compose with the flasg –build)
docker start client
Server instalation for local use
docker pull lfoppiano/grobid:0.7.2
docker run --rm -p 8070:8070 -p 8081:8071 lfoppiano/grobid:0.7.2
Client instalation (Local)
Run clientInstallation.sh wich uses python venv to make a virtual env for the project
./clientInstalationVenv.sh
tkinter is also need it for the word clouds
sudo apt install python3-tk
What does the client instalation do
It creates a virtual enviroment, activates, downloads the latest version of pip and proceeds to install al requirements. After that clones the grobid client form the repository an installs it.
python3 -m venv AIOSRSE
source AIOSRSE/bin/activate
python3 -m pip install --upgrade pip
pip install -r requiremets.txt
git clone https://github.com/kermitt2/grobid_client_python
cd grobid_client_python
python3 setup.py install
cd ..
pip install -e .
Running the program
Make sure you have the client and the server properly installed
python3 __main__.py
Running the test
Make sure you have the client and the server properly installed
python3 test/test.py