From a3684d173779066c32959ac7c04115e41e3ce83f Mon Sep 17 00:00:00 2001 From: xgdyp Date: Fri, 9 Jul 2021 15:53:58 +0800 Subject: [PATCH] add test project --- .gitignore | 6 +++++- be/.gitignore | 2 +- be/app/projects/test/anno.json | 1 + be/app/projects/test/config.json | 1 + be/app/projects/test/first.txt | 1 + be/app/projects/test/second.txt | 1 + be/app/projects/test/test.txt | 1 + 7 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 be/app/projects/test/anno.json create mode 100644 be/app/projects/test/config.json create mode 100644 be/app/projects/test/first.txt create mode 100644 be/app/projects/test/second.txt create mode 100644 be/app/projects/test/test.txt diff --git a/.gitignore b/.gitignore index 39eee8d..22a2ef6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ .idea/ -be/.idea \ No newline at end of file +be/.idea +/be/app/projects/* + + +__pycache__ \ No newline at end of file diff --git a/be/.gitignore b/be/.gitignore index 4c019c1..802a0fe 100644 --- a/be/.gitignore +++ b/be/.gitignore @@ -1,6 +1,6 @@ .idea __pycache__ -app/projects/* + diff --git a/be/app/projects/test/anno.json b/be/app/projects/test/anno.json new file mode 100644 index 0000000..f47fb6b --- /dev/null +++ b/be/app/projects/test/anno.json @@ -0,0 +1 @@ +[{"fileName": "first.txt", "annoDetails": [{"name": "是一个测", "type": "test1", "start": 1, "end": 5, "isSmall": false}, {"name": "测", "type": "test2", "start": 4, "end": 5, "isSmall": true}, {"name": "文", "type": "test2", "start": 6, "end": 7}], "isAnno": true}] \ No newline at end of file diff --git a/be/app/projects/test/config.json b/be/app/projects/test/config.json new file mode 100644 index 0000000..d61f314 --- /dev/null +++ b/be/app/projects/test/config.json @@ -0,0 +1 @@ +{"projectName": "test", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"test1\",\"color\":\"#6fe22c\"},{\"type\":\"test2\",\"color\":\"#3fab31\"},{\"type\":\"test3\",\"color\":\"#b9e36d\"}]"} \ No newline at end of file diff --git a/be/app/projects/test/first.txt b/be/app/projects/test/first.txt new file mode 100644 index 0000000..53b7e26 --- /dev/null +++ b/be/app/projects/test/first.txt @@ -0,0 +1 @@ +这是一个测试文本 \ No newline at end of file diff --git a/be/app/projects/test/second.txt b/be/app/projects/test/second.txt new file mode 100644 index 0000000..f9d5a9c --- /dev/null +++ b/be/app/projects/test/second.txt @@ -0,0 +1 @@ +开源点亮世界 \ No newline at end of file diff --git a/be/app/projects/test/test.txt b/be/app/projects/test/test.txt new file mode 100644 index 0000000..e21f840 --- /dev/null +++ b/be/app/projects/test/test.txt @@ -0,0 +1 @@ +开源是一种信仰 \ No newline at end of file