Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BIBO -- O
09-03-2020, 11:53 PM
Post: #1
BIBO -- O
[done] p1. implement delete function in procone.py
[todo] p2. make bibo a module -- cod://bibo It installs the client and mid-tier programs of bibo including the tests.


BIBO means BIBliOgraphy. BIBO matches an article with most related articles in an corpus.

We maintain several BIBO systems.

There is BIBO system on wp289b
We build a BIBO system on limbo305
We build BIBO system on g1b for procuratorate (this system will be moved to limbo30-2 soon

We record designers' info for cod://prada/procuratorate

Users' info about BIBO

---
20210812/zhihao: link U info
20210809/zhihao: link BIBO on wp289b
20210808/zhihao: BIBO on limbo305
20201006/zhihao: add BIBO M info
20200926/zhihao: add p2
20200924/zhihao: move designers' info and BIBO system
20200923/zhihao: add $bibo_base
20200923/zhihao: update tellThinker and procone.py
20200923/lingu: split blocks.
20200923/zhihao: update talk2thinker pseudocode
20200922/zhihao: add designers' info
20200917/lingu: specify simpleserv igate.
20200915/linye: add Designers' info and Maintainers' info.
20200909/zhihao: add cog
Find all posts by this user
Quote this message in a reply
09-09-2020, 08:58 AM
Post: #2
RE: Design of BIBO
BIBO code is current in cod://prada/procuratorate
Find all posts by this user
Quote this message in a reply
09-09-2020, 08:59 AM
Post: #3
RE: BIBO
zhihao pls work as a cog for bibo.
Find all posts by this user
Quote this message in a reply
09-09-2020, 04:45 PM
Post: #4
RE: BIBO
(09-09-2020 08:59 AM)lingu Wrote:  zhihao pls work as a cog for bibo.

updated headpost
Quote this message in a reply
09-11-2020, 02:28 PM
Post: #5
RE: BIBO
目前BIBO的运行比较复杂,要启动simpleserv和Data Thinker,并联通端口。

linye - 之前大部分BIBO功能都在g1b,请将think, sage, BIBO部署到limbo30-2,这样我们可以在limbo30-2上直接启动BIBO,不依赖g1b。

另外,我建议请把BIBO变成一个服务,用systemctl start bibo.service启动。
RR linye

ymy - 之前联通端口用ssh,不太稳定,请直接通过ada开通管道,通过ada:20050对外提供limbo30-2的simpleserve端口 - tcp端口62818 , 通过ada:6580提供limbo30-1的web端口 - tcp端口80. 另外,通过igate direct服务提供limbo30-1, limbo30-2的SSH服务 - tcp端口22
Find all posts by this user
Quote this message in a reply
09-11-2020, 04:16 PM
Post: #6
RE: BIBO
(09-11-2020 02:28 PM)lingu Wrote:  目前BIBO的运行比较复杂,要启动simpleserv和Data Thinker,并联通端口。

linye - 之前大部分BIBO功能都在g1b,请将think, sage, BIBO部署到limbo30-2,这样我们可以在limbo30-2上直接启动BIBO,不依赖g1b。

另外,我建议请把BIBO变成一个服务,用systemctl start bibo.service启动。
RR linye

收到
Quote this message in a reply
09-15-2020, 01:47 PM
Post: #7
RE: BIBO
20200915 1245/linye used the following command to test the query function, and shows the result:
Code:
[linye@limbo30-1 processed]$ ( cat chendengchang-with-blank-line.json; sleep 18 ) | ncat limbo30-2 20050
{
"code": 200,
"msg": "ok",
"children": [
  {
   "keys": [
     {
       "type": "key1",
       "value": "抢劫",
       "detailid": "087e0145e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "抢劫",
       "detailid": "087e0216e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "抢劫",
       "detailid": "087e02cee4a911ea987a005056c00001"
     }
   ],
   "caseid": "67be23689e6311eabceb005056c00001",
   "caseyear": 2014,
   "casetitle": "张某、沈某某等七人抢劫案",
   "casetype": "最高人民检察院指导性案例",
   "caserate": "5.00",
   "caseaction": "抢劫罪",
   "score": 100
  },
  {
   "keys": [
     {
       "type": "key1",
       "value": "盗窃",
       "detailid": "087b7c01e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "盗窃",
       "detailid": "087b7e26e4a911ea987a005056c00001"
     }
   ],
   "caseid": "67be26729e6311eabceb005056c00001",
   "caseyear": 2017,
   "casetitle": "张四毛盗窃案",
   "casetype": "最高人民检察院指导性案例",
   "caserate": "5.00",
   "caseaction": "盗窃罪",
   "score": 100
  },
  {
   "keys": [
     {
       "type": "key3",
       "value": "入户抢劫",
       "detailid": "087dfc79e4a911ea987a005056c00001"
     },
     {
       "type": "key2",
       "value": "入户抢劫",
       "detailid": "087dfc79e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "抢劫、盗窃",
       "detailid": "087dfc79e4a911ea987a005056c00001"
     },
     {
       "type": "key3",
       "value": "补充起诉",
       "detailid": "087dfd91e4a911ea987a005056c00001"
     },
     {
       "type": "key2",
       "value": "入户抢劫",
       "detailid": "087dfd91e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "抢劫、盗窃",
       "detailid": "087dfd91e4a911ea987a005056c00001"
     },
     {
       "type": "key2",
       "value": "入户抢劫",
       "detailid": "087dfe86e4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "抢劫、盗窃",
       "detailid": "087dfe86e4a911ea987a005056c00001"
     }
   ],
   "caseid": "67be23409e6311eabceb005056c00001",
   "caseyear": 2014,
   "casetitle": "陈邓昌抢劫、盗窃,付志强盗窃案",
   "casetype": "最高人民检察院指导性案例",
   "caserate": "5.00",
   "caseaction": "抢劫罪",
   "score": 100
  },
  {
   "keys": [
     {
       "type": "key1",
       "value": "抢劫",
       "detailid": "087b8e5ae4a911ea987a005056c00001"
     },
     {
       "type": "key1",
       "value": "抢劫",
       "detailid": "087b8faee4a911ea987a005056c00001"
     }
   ],
   "caseid": "67be23909e6311eabceb005056c00001",
   "caseyear": 2016,
   "casetitle": "马世龙(抢劫)核准追诉案",
   "casetype": "最高人民检察院指导性案例",
   "caserate": "5.00",
   "caseaction": "抢劫罪",
   "score": 100
  }
]
}
Quote this message in a reply
09-15-2020, 04:49 PM
Post: #8
RE: BIBO
(09-11-2020 04:16 PM)linye Wrote:  
(09-11-2020 02:28 PM)lingu Wrote:  目前BIBO的运行比较复杂,要启动simpleserv和Data Thinker,并联通端口。

linye - 之前大部分BIBO功能都在g1b,请将think, sage, BIBO部署到limbo30-2,这样我们可以在limbo30-2上直接启动BIBO,不依赖g1b。

另外,我建议请把BIBO变成一个服务,用systemctl start bibo.service启动。
RR linye

收到

good to me, headpost updated.
Quote this message in a reply
09-17-2020, 07:59 PM (This post was last modified: 09-17-2020 08:02 PM by lingu.)
Post: #9
RE: BIBO
(09-03-2020 11:53 PM)lingu Wrote:  Maintainers' info.
之前大部分BIBO功能都在g1b,请将think, sage, BIBO部署到limbo30-2,这样我们可以在limbo30-2上直接启动BIBO,不依赖g1b。

zhihao pls work on this.

I am moving the manual igate connection to trajan. The simpleserv service is currently running on g1b.

I ran simpleserv on g1b-2.
Code:
18:58:12 lingu@g1b-2:/home/lingu/forest/prada/prada/procuratorate> ./simpleserv.sh

Then I set up manual igate.
Code:
nohup ssh -t -t -N -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -R 10.6.64.22:20050:localhost:62818 lingu@10.6.64.22

We should configure igate in our standardized way.
Find all posts by this user
Quote this message in a reply
09-19-2020, 02:53 PM
Post: #10
RE: BIBO
zhihao - it looks like there is no progress in this project. You should document the logic of simpleserv, then propose a change for the insert function.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: