Skip to content

Commit 711015b

Browse files
committed
Update docs
1 parent d5fff41 commit 711015b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/structs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Structs
77
:maxdepth: 2
88

99
treecrf
10-
variational_inference
10+
vi

supar/utils/transform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,13 +542,13 @@ def build(cls, tree, sequence):
542542
543543
Args:
544544
tree (nltk.tree.Tree):
545-
An empty tree that provides a base for building a resulting tree.
545+
An empty tree that provides a base for building a result tree.
546546
sequence (list[tuple]):
547547
A list of tuples used for generating a tree.
548548
Each tuple consits of the indices of left/right boundaries and label of the constituent.
549549
550550
Returns:
551-
A resulting constituency tree.
551+
A result constituency tree.
552552
553553
Examples:
554554
>>> tree = Tree.totree(['She', 'enjoys', 'playing', 'tennis', '.'], 'TOP')

0 commit comments

Comments
 (0)