Update README.md
Browse files
README.md
CHANGED
|
@@ -37,6 +37,8 @@ No library should anyone suffer. Especially not if it is built on top of 🤗 **
|
|
| 37 |
|
| 38 |
Go to the [Github repo](https://github.com/flexudy/natural-language-logic)
|
| 39 |
|
|
|
|
|
|
|
| 40 |
```python
|
| 41 |
from flexudy.conceptor.start import FlexudyConceptInferenceMachineFactory
|
| 42 |
|
|
@@ -57,9 +59,7 @@ concepts = concept_inference_machine.infer_concepts(terms, language=language)
|
|
| 57 |
|
| 58 |
Output:
|
| 59 |
|
| 60 |
-
|
| 61 |
-
{'cat': ['mammal', 'animal'], 'dog': ['hound', 'animal'], 'economics and sociology': ['both fields of study'], 'public company': ['company']}
|
| 62 |
-
```
|
| 63 |
|
| 64 |
### How was it trained?
|
| 65 |
|
|
|
|
| 37 |
|
| 38 |
Go to the [Github repo](https://github.com/flexudy/natural-language-logic)
|
| 39 |
|
| 40 |
+
|
| 41 |
+
|
| 42 |
```python
|
| 43 |
from flexudy.conceptor.start import FlexudyConceptInferenceMachineFactory
|
| 44 |
|
|
|
|
| 59 |
|
| 60 |
Output:
|
| 61 |
|
| 62 |
+
|
|
|
|
|
|
|
| 63 |
|
| 64 |
### How was it trained?
|
| 65 |
|