# https://gist.github.com/prateekjoshi565/6439d3d8996aeb490b9d816fa0226e6c#file-kg_dep_parse_eg1-py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/netcat.c 2018-01-11 22:13:14.000000000 +0000 | |
+++ b/netcat.c 2020-04-04 01:24:53.000042333 +0000 | |
@@ -81,6 +81,10 @@ | |
#include <fcntl.h> /* O_WRONLY et al */ | |
#include <unistd.h> | |
+/* quick hack to make it working without patched kernel source, | |
+ for https://sourceforge.net/projects/nc110/files/community%20releases/ */ | |
+#define IP_TRANSPARENT 19 | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_entities(sent): | |
"""get_entities is the fork of https://gist.github.com/prateekjoshi565/241aee30cc95aaf54a3533c2ec0f0b40#file-kg_extract_entities-py, added some comments""" | |
## chunk 1 | |
ent1 = "" | |
ent2 = "" | |
prv_tok_dep = "" # dependency tag of previous token in the sentence | |
prv_tok_text = "" # previous token in the sentence | |
prefix = "" |
worker.postMessage(params); // in the file index (webpage) and the code is : "src": editor.getSession().getDocument().getValue(),
Then we just insert one step to the process, i.e., first code is send to us, we get the code, then we just send back the data in specfic time interval, then the client will show the steps. It is easier for understanding. better if the client can save the history and get the data step forward and backward. -> we can just add button for this. For server it just send back the data. The client can do the thing. No need to keep the long time connection?
Or we can use reflection, reflector, wrap a data structure, and then we inject the code that