Skip to content

Commit

Permalink
add jvm allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawhy committed Feb 10, 2023
1 parent de20f01 commit 2f0d6b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/ontology.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ This page gives typical examples of how to use [`Ontology`][deeponto.onto.Ontolo

```python
from deeponto.onto import Ontology
```

Importing `Ontology` will require JVM memory allocation (defaults to `8g`):

```python
Please enter the maximum memory located to JVM: [8g]: 16g
16g maximum memory allocated to JVM.
```

Loading an ontology from a local file:

```
onto = Ontology("path_to_ontology.owl")
```
## Acessing Ontology Entities
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = deeponto
version = 0.5.3
version = 0.5.4
author = Yuan He (KRR-Oxford)
author_email = [email protected]
license = Apache License 2.0
Expand Down

0 comments on commit 2f0d6b8

Please sign in to comment.