MCPcopy Create free account
hub / github.com/TalwalkarLab/leaf / split_line

Function split_line

models/utils/language_utils.py:49–58  ·  view source on GitHub ↗

split given line/phrase into list of words Args: line: string representing phrase to be split Return: list of strings, with each string representing a word

(line)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

line_to_indicesFunction · 0.85
bag_of_wordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…