You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,8 @@ bash start_bern2.sh
77
77
78
78
## Using BERN2
79
79
80
-
After running BERN2 successfully in your local environment, you can use it via RESTful API.
81
-
If you want to use BERN2 without locally installing it, please check out [here](http://bern2.korea.ac.kr/documentation#api_content) for using the web service.
80
+
After successfully running BERN2 in your local environment, you can access it via RESTful API.
81
+
If you want to use BERN2 without installing it locally, please see [here](http://bern2.korea.ac.kr/documentation#api_content) for instructions on how to use the web service.
Copy file name to clipboardExpand all lines: app/templates/local_content.html
+35-2Lines changed: 35 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ <h3>Installing BERN2</h3>
34
34
<divclass="py-2">
35
35
Then, you need to download resources (e.g., external modules or dictionaries) for running BERN2.
36
36
Note that you will need 70GB of free disk space.
37
-
If the link below does not work, please download the resources [here](https://drive.google.com/file/d/1BtCA_DDiASl8Qa17ybAnmvdqp4tuc0nN/view?usp=sharing).
37
+
If the link below does not work, please download the resources <ahref="https://drive.google.com/file/d/1BtCA_DDiASl8Qa17ybAnmvdqp4tuc0nN/view?usp=sharing">here</a>.
38
38
</div>
39
39
<divclass="py-2">
40
40
<pre>
@@ -48,6 +48,7 @@ <h3>Installing BERN2</h3>
48
48
make install
49
49
cd ../../..
50
50
</pre>
51
+
</div>
51
52
<hr>
52
53
<divclass="py-4">
53
54
<h3>Running BERN2</h3>
@@ -66,11 +67,43 @@ <h3>Running BERN2</h3>
66
67
(Optional) To restart BERN2, you need to run the following commands.
67
68
</div>
68
69
<divclass="py-2">
69
-
<pre>
70
+
<pre>
70
71
export CUDA_VISIBLE_DEVICES=0
71
72
cd scripts
72
73
bash stop_bern2.sh
73
74
bash start_bern2.sh
74
75
</pre>
75
76
</div>
77
+
<divclass="py-4">
78
+
<h3>Use BERN2</h3>
79
+
</div>
80
+
<divclass="py-2">
81
+
After successfully running BERN2 in your local environment, you can access it via RESTful API.
82
+
Except for the url (use http://localhost:8888 instead of http://bern2.korea.ac.kr), the usage of the local installation is exactly the same as that of the <ahref="#api_content" class="nav-link active" data-toggle="tab">web service</a>.
83
+
</div>
84
+
<divclass="py-2">
85
+
<pclass="font-weight-bold">Plain Text as Input</p>
0 commit comments