danielschnell
commited on
Commit
•
dba98f0
1
Parent(s):
15ae41b
Initial commit as copied from Claris: http://hdl.handle.net/20.500.12537/149
Browse files- .gitattributes +1 -0
- README.md +33 -3
- neural-parser.gz +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
neural-parser.gz filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,33 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Instructions for Miðeind neural parser (experimental)
|
2 |
+
|
3 |
+
The docker container can be also be located on dockerhub (`docker pull mideind/neural-parser`). To load the saved image into docker use:
|
4 |
+
|
5 |
+
```
|
6 |
+
gunzip neural-parser.gz
|
7 |
+
docker load -i neural-parser.tar
|
8 |
+
```
|
9 |
+
|
10 |
+
The input to the parser is a text file (`${INPUT_FILE}`) where each line contains a tokenized sentence that will be parsed.
|
11 |
+
The output file will be located in `${OUTPUT_DIR}/output.txt` . To run the parser use the following:
|
12 |
+
|
13 |
+
```
|
14 |
+
docker run --volume ${INPUT_FILE}:/data/input.txt --volume ${OUTPUT_DIR}:/data/ mideind/neural-parser
|
15 |
+
```
|
16 |
+
|
17 |
+
---
|
18 |
+
|
19 |
+
# Leiðbeiningar fyrir tauganetsþáttara Miðeindar
|
20 |
+
|
21 |
+
Athugið að einnig má finna gáminn á dockerhub (`docker pull mideind/neural-parser`). Til að hlaða vistuðum gámi inn í docker skal nota:
|
22 |
+
|
23 |
+
```
|
24 |
+
gunzip neural-parser.gz
|
25 |
+
docker load -i neural-parser.tar
|
26 |
+
```
|
27 |
+
|
28 |
+
Inntakið í þáttarann er texta skrá (`${INPUT_FILE}`) þar sem hver lína geymir eina tókaða málsgrein. Eftir keyrslu má finna úttakið í skránni `${OUTPUT_DIR}/output.txt` .
|
29 |
+
Til að keyra þáttarann skal nota:
|
30 |
+
|
31 |
+
```
|
32 |
+
docker run --volume ${INPUT_FILE}:/data/input.txt --volume ${OUTPUT_DIR}:/data/ mideind/neural-parser
|
33 |
+
```
|
neural-parser.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:628c45a024ceb46702c4d836dae6d97c41700f5320027e9a40747d1610b61bd1
|
3 |
+
size 6256097613
|