We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6b712 commit 42f0c12Copy full SHA for 42f0c12
pyrdf2vec/walkers/random.py
@@ -112,8 +112,8 @@ def _dfs(
112
return list(set(walks))
113
114
def extract_walks(self, kg: KG, entity: Vertex) -> List[Walk]:
115
- """Extracts random walks for an entity based on Knowledge Graph
116
- using the Depth First Search (DFS) algorithm if a maximum number of walks is
+ """Extracts random walks for an entity based on Knowledge Graph using
+ the Depth First Search (DFS) algorithm if a maximum number of walks is
117
specified, otherwise the Breath First Search (BFS) algorithm is used.
118
119
Args:
0 commit comments