Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 1.23 KB | None | 0 0
  1. root@ubuntu:/mnt/sdg1/researchcyc-4.0q/server/cyc/run# cat init/jrtl-release-init.lisp
  2. ;;; -*- Mode: LISP; Package: CYC; Syntax: ANSI-Common-Lisp -*-
  3.  
  4. ;;; -*- Mode: LISP; Package: CYC; Syntax: ANSI-Common-Lisp -*-
  5.  
  6. (in-package "CYC")
  7.  
  8. (cvs-id "$Id: jrtl-release-init.lisp 129137 2009-11-05 03:40:25Z rck $")
  9.  
  10.  
  11. (pwhen-feature :Cyc-ResearchCyc
  12.   (pwhen-feature :SL2Java
  13.     (csetq *master-license-key* "de47-29ff-c13b-ac5e-b750")))
  14. (pwhen-feature :Cyc-ResearchCyc
  15.   (pwhen-feature :SL2Java
  16.     (csetq *master-license-key* "e36a-89e7-56ca-0426-0193")))
  17.  
  18. #+Ignore
  19. (cunwind-protect
  20.   (format t "Starting Named Entity Recognizer.~%")
  21.   (csetq *stanford-ner-host* "localhost")
  22.   (csetq *stanford-ner-port* 6666)
  23.   (run-external-process
  24.    "java"
  25.    `("-server" "-Xmx1024m"
  26.                "-XX:MaxPermSize=512m"
  27.                "-cp" "data/stanford-ner-cyc-2006-09-18/stanford-ner.jar"
  28.                "edu.stanford.nlp.ie.NERServer"
  29.                "-loadClassifier" "data/stanford-ner-cyc-2006-09-18/classifiers/ner-eng-ie.crf-7-muc-distsim.ser.gz"
  30.                ,(to-string *stanford-ner-port*)) *NULL-INPUT* *NULL-OUTPUT* *ERROR-OUTPUT*)
  31.   (sleep 20)
  32.   (progn))
  33.  
  34. (load "init/jrtl-init.lisp")
  35.  
  36. (load "init/release-specific-init.lisp")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement