Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stanfordnlp/stanza
/ pop
Method
pop
stanza/models/constituency/tree_stack.py:39–40 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
37
self.length = length
38
39
def
pop(self):
40
return
self.parent
41
42
def
push(self, value):
43
# returns a new stack node which points to this
Callers
15
test_simple
Function · 0.95
visualize_ner_doc
Function · 0.80
random_split
Function · 0.80
convert_nkjp
Function · 0.80
list_wikipedia_files
Function · 0.80
process_documents
Function · 0.80
process_documents
Function · 0.80
build_default_pretrains
Function · 0.80
get_default_fast
Function · 0.80
test_shift
Function · 0.80
test_push_state_single
Function · 0.80
test_push_state_same_length
Function · 0.80
Calls
no outgoing calls
Tested by
6
test_simple
Function · 0.76
test_shift
Function · 0.64
test_push_state_single
Function · 0.64
test_push_state_same_length
Function · 0.64
test_push_state_different_length
Function · 0.64
test_two_heads
Function · 0.64