Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioNar committed Nov 1, 2024
1 parent 79e3d30 commit 92868ba
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,46 @@ sparql_results_table = send_sparql_query("path_to_sparql_file", "path_to_output_

Replace `"path_to_sparql_file"` with the actual path to your SPARQL query file and `"path_to_output_file"` with the desired output file path for the results table.

### 3.2 Downloading the documents

```python
from op_cellar.download import download_documents

download_documents(results=results, download_dir='./downloads/data', nthreads=4)

```

### 3.3 Parsing the downloaded documents

```python
from op_cellar.parser.parser import Parser

```


## Acknowledgements

The op_cellar package has been inspired by a series of previous packages and builds upon some of their architectures and workflows. We would like to acknowledge the following sources that have contributed to the development of this generic solution:

* The [eu_corpus_compiler](https://github.com/seljaseppala/eu_corpus_compiler) repository by Selja Seppala
### Integration of part of the codebase

* The [eu_corpus_compiler](https://github.com/seljaseppala/eu_corpus_compiler) repository by Selja Seppala concerning the methods used to query the CELLAR SPARQL API and WEB APIs
* The implementation of the Akoma Ntoso parser made in the [SORTIS project repository](https://code.europa.eu/regulatory-reporting/sortis)

### Inspiration in the parsing strategy

* https://github.com/step21/eurlex
* https://github.com/kevin91nl/eurlex/
* https://github.com/Lexparency/eurlex2lexparency
* https://github.com/maastrichtlawtech/extraction_libraries
* https://github.com/maastrichtlawtech/closer

### Use of existing legal ontologies

* LegalDocML (Akoma Ntoso)
* LegalHTML
* FORMEX

## Copyright

In order to ensure the compatibility with other pre-existing software, the license of choice is the EUPL 1.2

0 comments on commit 92868ba

Please sign in to comment.