MCPcopy Create free account

hub / github.com/dhchenx/rsnltk / functions

Functions339 in github.com/dhchenx/rsnltk

↓ 54 callersMethodpush
(&mut self, instr: Instruction)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reprog.rs:83
↓ 47 callersMethodinsert
* Note no membership test, so you might want to guard calls to insert() * to prevent self.dense from growing and containing garbage. * That
experiments/rsnltk-experiment/src/native/nlpsvc/regex/sparse.rs:61
↓ 35 callersMethodclone
(&self)
experiments/rsnltk-experiment/examples/how_to_solve_moved_data/test3.rs:16
↓ 34 callersMethodlen
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/sparse.rs:45
↓ 25 callersMethodnext
Move the cursor to its right sibling
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:149
↓ 13 callersMethodcontains
* See https://research.swtch.com/sparse */
experiments/rsnltk-experiment/src/native/nlpsvc/regex/sparse.rs:71
↓ 13 callersMethodset_sym_val
(&mut self, attr: &str, val: &str)
experiments/rsnltk-experiment/src/native/nlpsvc/node_label.rs:29
↓ 11 callersMethodget_trees_mut
(&mut self)
experiments/rsnltk-experiment/src/native/nlpsvc/annotated_document.rs:116
↓ 10 callersMethodset_span
(&mut self, begin: usize, end: usize)
experiments/rsnltk-experiment/src/native/nlpsvc/node_label.rs:19
↓ 9 callersMethodget_trees
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/annotated_document.rs:119
↓ 9 callersMethodpush_back
Create a new atomic tree and append it to the tree sequence This should end up being roughly equivalent to chunk() with no child sequence.
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:48
↓ 8 callersMethodadd_task
(&mut self, pc: Label)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:87
↓ 8 callersMethodemit
(&mut self, instr: Instruction, at_line: Label)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/retrans.rs:68
↓ 8 callersMethodgen_label
(&mut self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/retrans.rs:27
↓ 8 callersMethodtranslate
(&mut self, regex: &Term, l0: Label, l: Label)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/retrans.rs:55
↓ 7 callersMethodfirst
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:36
↓ 5 callersMethodis_valid
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:111
↓ 4 callersMethodget
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:115
↓ 4 callersFunctionget_segmentation
Get word segmentation results from customized dictionaries and methods Parameters: _sentence: a string, dict_path: the dictionary file path where e
experiments/rsnltk-experiment/src/native/segmentation.rs:22
↓ 4 callersFunctionget_segmentation
Get word segmentation results from customized dictionaries and methods Parameters: _sentence: a string, dict_path: the dictionary file path where e
src/native/segmentation.rs:23
↓ 4 callersMethodget_span
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/node_label.rs:25
↓ 4 callersFunctionprint_label
(cursor: &TreeCursor, doc: &AnnotatedDocument)
experiments/rsnltk-experiment/tests/nlpsvc_test.rs:23
↓ 4 callersMethodto_memo
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:122
↓ 3 callersMethodadd_rule
Compile the pattern and add to the current program.
experiments/rsnltk-experiment/src/native/nlpsvc/regex_tokenizer.rs:69
↓ 3 callersFunctionbmm
Word Segmentation Based on Backward Maximum Matching
experiments/rsnltk-experiment/src/native/segmentation.rs:161
↓ 3 callersFunctionbmm
Word Segmentation Based on Backward Maximum Matching
src/native/segmentation.rs:161
↓ 3 callersFunctionfmm
Word Segmentation Based on Forward Maximum Matching
experiments/rsnltk-experiment/src/native/segmentation.rs:208
↓ 3 callersFunctionfmm
Word Segmentation Based on Forward Maximum Matching
src/native/segmentation.rs:208
↓ 3 callersMethodget_text
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/text_source.rs:74
↓ 3 callersMethodis_empty
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/sparse.rs:49
↓ 3 callersMethodlen
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:79
↓ 3 callersMethodnext
(&mut self)
src/native/chardata.rs:37
↓ 3 callersMethodprint
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reprog.rs:86
↓ 3 callersFunctionprint_label
(cursor: &TreeCursor, doc: &AnnotatedDocument)
experiments/rsnltk-experiment/src/native/nlpsvc/annotated_document.rs:19
↓ 3 callersFunctionscan_given
* The expectation here is that ch will be a one ASCII-char string. * This is for scanning for syntactically active characters, not general * unicode
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reparse.rs:286
↓ 2 callersFunctionabc
(a:Info)
experiments/rsnltk-experiment/examples/how_to_solve_moved_data/test3.rs:21
↓ 2 callersFunctionabc
(a:Rc<RefCell<Info>>)
experiments/rsnltk-experiment/examples/how_to_solve_moved_data/test.rs:18
↓ 2 callersMethodappend
Append a token Append a token starting at `begin` with text `text`, that matched rule #`rule_id`.
experiments/rsnltk-experiment/src/native/nlpsvc/english_rules.rs:61
↓ 2 callersMethodapply_to
(&mut self, doc: &mut AnnotatedDocument)
experiments/rsnltk-experiment/src/native/nlpsvc/regex_tokenizer.rs:30
↓ 2 callersFunctionbimm
Bidirection Maximum Matching Method
experiments/rsnltk-experiment/src/native/segmentation.rs:80
↓ 2 callersFunctionbimm
Bidirection Maximum Matching Method
src/native/segmentation.rs:80
↓ 2 callersMethodchunk
`end` is not included in the interval. So it could be None, if we were working on the very tail of the tree list. That case has to be accounted for!
experiments/rsnltk-experiment/src/native/nlpsvc/tree_sequence.rs:68
↓ 2 callersMethodclear
(&mut self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:75
↓ 2 callersFunctioncount_words
(words: &[String])
experiments/rsnltk-experiment/src/native/text.rs:86
↓ 2 callersMethodfn_a
(&mut self)
experiments/rsnltk-experiment/examples/how_to_solve_moved_data/test1.rs:7
↓ 2 callersFunctionget_sentence_vector
Retrieve a sentence vector based on the frequency of words that appears in the all_words_lc set. all_words_lc should be a sorted set of lower cased wo
experiments/rsnltk-experiment/src/native/summarizer.rs:70
↓ 2 callersFunctionget_sentence_vector
Retrieve a sentence vector based on the frequency of words that appears in the all_words_lc set. all_words_lc should be a sorted set of lower cased wo
src/native/summarizer.rs:70
↓ 2 callersFunctionget_token_list
(s:&str)
src/native/token.rs:42
↓ 2 callersMethodis_empty
(&self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:83
↓ 2 callersFunctionload_dictionary
Read a list of lines from a file
experiments/rsnltk-experiment/src/native/segmentation.rs:268
↓ 2 callersFunctionload_dictionary
Read a list of lines from a file
src/native/segmentation.rs:268
↓ 2 callersMethodmatches
(&self, ch: char)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reterm.rs:112
↓ 2 callersFunctionner
The named entity recognition (NER) module recognizes mention spans of a particular entity type (e.g., Person or Organization) in the input sentence. h
experiments/rsnltk-experiment/src/stanza.rs:390
↓ 2 callersFunctionner
The named entity recognition (NER) module recognizes mention spans of a particular entity type (e.g., Person or Organization) in the input sentence. h
src/stanza.rs:390
↓ 2 callersFunctionparse_regex
* <regex> ::= <alt> * <alt> ::= <conc> OR <conc> '|' <alt> * <conc> ::= <iter> OR <iter> <conc> * <iter> ::= <base> OR <iter> '*' OR <iter> '+' OR
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reparse.rs:35
↓ 2 callersMethodpartial_cmp
A MatchRecord is bigger if it is longer, or same length but its rule is lower numbered
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:42
↓ 2 callersFunctionroot_sum_square
(vec: &Vec<usize>)
experiments/rsnltk-experiment/src/native/summarizer.rs:93
↓ 2 callersFunctionroot_sum_square
(vec: &Vec<usize>)
src/native/summarizer.rs:93
↓ 2 callersFunctionscan_class_elt_char
(text: &str)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reparse.rs:223
↓ 2 callersFunctionsummarize
Summarize text
src/native/summarizer.rs:22
↓ 2 callersFunctiontrim_to_words
Credits: Splits String at whitespaces and removes chars like , or ?. Change the relevant line to remove or add chars from provided String.
experiments/rsnltk-experiment/src/native/text.rs:170
↓ 2 callersFunctionwhatlang
(str:&str)
experiments/rsnltk-experiment/src/api/whatlang.rs:18
↓ 2 callersFunctionwhatlang
(str:&str)
src/api/whatlang.rs:18
↓ 1 callersFunction_dependency_tree
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:487
↓ 1 callersFunction_dependency_tree
(text:&str,lang:&str)
src/stanza.rs:487
↓ 1 callersFunction_dependency_tree_chinese
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:457
↓ 1 callersFunction_dependency_tree_chinese
(text:&str,lang:&str)
src/stanza.rs:457
↓ 1 callersFunction_download_lang
(lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:83
↓ 1 callersFunction_download_lang
(lang:&str)
src/stanza.rs:83
↓ 1 callersFunction_lang
(list_text:Vec<&str>)
experiments/rsnltk-experiment/src/stanza.rs:133
↓ 1 callersFunction_lang
(list_text:Vec<&str>)
src/stanza.rs:133
↓ 1 callersFunction_mwt_expand
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:23
↓ 1 callersFunction_mwt_expand
(text:&str,lang:&str)
src/stanza.rs:23
↓ 1 callersFunction_ner
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:403
↓ 1 callersFunction_ner
(text:&str,lang:&str)
src/stanza.rs:403
↓ 1 callersFunction_pos
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:188
↓ 1 callersFunction_pos
(text:&str,lang:&str)
src/stanza.rs:188
↓ 1 callersFunction_pos_chinese
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:217
↓ 1 callersFunction_pos_chinese
(text:&str,lang:&str)
src/stanza.rs:217
↓ 1 callersFunction_read_lines
(filename: P)
experiments/rsnltk-experiment/src/native/segmentation.rs:259
↓ 1 callersFunction_read_lines
(filename: P)
src/native/segmentation.rs:259
↓ 1 callersFunction_sentiment
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:264
↓ 1 callersFunction_sentiment
(text:&str,lang:&str)
src/stanza.rs:264
↓ 1 callersFunction_tokenize
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:312
↓ 1 callersFunction_tokenize
(text:&str,lang:&str)
src/stanza.rs:312
↓ 1 callersFunction_tokenize_sentence
(text:&str,lang:&str)
experiments/rsnltk-experiment/src/stanza.rs:357
↓ 1 callersFunction_tokenize_sentence
(text:&str,lang:&str)
src/stanza.rs:357
↓ 1 callersFunction_wordnet_similarity
(s1:&str,s2:&str)
experiments/rsnltk-experiment/src/wordnet.rs:16
↓ 1 callersFunction_wordnet_similarity
(s1:&str,s2:&str)
src/wordnet.rs:16
↓ 1 callersMethodadd_start
(&mut self, start: usize)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reprog.rs:91
↓ 1 callersMethodadvance
Execute tasks in clist Loop through clist. Epsilon transitions (Split) add new entries to clist, so this implements epsilon-closure. All other instru
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:145
↓ 1 callersMethodall_matches_at
Find a token starting at &text[begin..], if possible. Results are stored in self.matches, and so "failure" is indicated by an empty match list. Note
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:218
↓ 1 callersMethodat
* For iteration */
experiments/rsnltk-experiment/src/native/nlpsvc/regex/sparse.rs:37
↓ 1 callersMethodbest_match
Return the best match at our current position Where "best" means "longest". Ties are broken according to the order of rules: earlier (lower-numbered)
experiments/rsnltk-experiment/src/native/nlpsvc/regex/reinterp.rs:118
↓ 1 callersMethodbuild
(mut self)
experiments/rsnltk-experiment/src/native/nlpsvc/regex_tokenizer.rs:76
↓ 1 callersFunctionbuild_similarity_matrix
Calculate a similarity matrix for the given sentences. Returns a 2-D array M_i,j such that for all 'j', sum(i, M_i,j) = 1 We take a leap of faith here
experiments/rsnltk-experiment/src/native/summarizer.rs:128
↓ 1 callersFunctionbuild_similarity_matrix
Calculate a similarity matrix for the given sentences. Returns a 2-D array M_i,j such that for all 'j', sum(i, M_i,j) = 1 We take a leap of faith here
src/native/summarizer.rs:128
↓ 1 callersFunctioncalculate_sentence_rank
Calculate a sentence rank similar to a page rank. Please refer to [PageRank](https://en.wikipedia.org/wiki/PageRank) for more details.
experiments/rsnltk-experiment/src/native/summarizer.rs:169
↓ 1 callersFunctioncalculate_sentence_rank
Calculate a sentence rank similar to a page rank. Please refer to [PageRank](https://en.wikipedia.org/wiki/PageRank) for more details.
src/native/summarizer.rs:169
↓ 1 callersFunctionchar_at
* Return Some((ch, len)) if there is a character at the start of text, * None otherwise. */
experiments/rsnltk-experiment/src/native/nlpsvc/regex/util.rs:6
next →1–100 of 339, ranked by callers