Skip to content

Commit 47c65b1

Browse files
committed
docs: add Open in Colab badge to README (simulator)
1 parent 11c7307 commit 47c65b1

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

simulator/README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,26 @@ To run the simulators in a Google Colab environment:
7878
For `sim1.py`
7979

8080
```
81-
sim = CollostructionalComparisonSimulatorNCWr()
82-
sim.display()
81+
simulator1 = CollostructionalComparisonSimulatorNCWr()
82+
simulator1.display()
8383
```
8484

8585
For `sim2.py`
8686

8787
```
88-
sim = CollostructionalComparisonSimulatorKMbr()
89-
sim.display()
88+
simulator2 = CollostructionalComparisonSimulatorKMbr()
89+
simulator2.display()
9090
```
9191

92+
For `sim3.py`
93+
94+
```
95+
simulator3 = CollostructionalComparisonSimulatorNCWr()
96+
simulator3.display()
97+
```
98+
99+
Demo: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/garage-phi/collostructional-analysis-python/blob/main/simulator/simulator_demo.ipynb)
100+
92101

93102
## Theoretical Note: The PMI-LOR Behavior
94103

0 commit comments

Comments
 (0)