diff --git a/index.js b/index.js index d70f3c824..10a3f2f00 100644 --- a/index.js +++ b/index.js @@ -3923,13 +3923,13 @@ INDEX=[ { "ref":"tf.browser.ner.tables.tokenMatch", "url":97, -"doc":"", +"doc":"Checks whether a sentence matches a sequence of words. When we do the checking, we ignore empty words in the sentence. Parameters L, F, T: object The TF APIs F and L for feature lookup and level-switching, and text extraction s: integer The node of the sentence in question words: list of string The sequence of words that must be matched. They are all non-empty.", "func":1 }, { "ref":"tf.browser.ner.tables.composeS", "url":97, -"doc":"Compose a table of sentences. Will filter the sentences by tokens if the tokens parameter is not None. In that case, tokens should be an array of slots. All sentences that contain the words of those slots will show up, all other sentences will be left out. The matching slots will be highlighted. Parameters app: object The TF app of the corpus in question. setData: dict The entity data of the chosen set. tokenStart, tokenEnd: int or None Specify the start slot number and the end slot number of a sequence of tokens. Only sentences that contain this token sentence will be passed through, all other sentences will be filtered out. Returns - html string The finished HTML of the table, ready to put into the Flask template.", +"doc":"Compose a table of sentences. Will filter the sentences by tokens if the tokenStart and tokenEnd parameters are both filled in. In that case, we look up the text between those tokens and including. All sentences that contain that text of those slots will show up, all other sentences will be left out. The matching slots will be highlighted. Parameters app: object The TF app of the corpus in question. setData: dict The entity data of the chosen set. findPattern: string A search string that filters the sentences, before applying the search for a word sequence. tokenStart, tokenEnd: int or None Specify the start slot number and the end slot number of a sequence of tokens. Only sentences that contain this token sentence will be passed through, all other sentences will be filtered out. Returns - html string The finished HTML of the table, ready to put into the Flask template.", "func":1 }, { diff --git a/tf/about/apps.html b/tf/about/apps.html index 36b131027..67e0f4af1 100644 --- a/tf/about/apps.html +++ b/tf/about/apps.html @@ -110,7 +110,7 @@
"""
.. include:: ../docs/about/apps.md
diff --git a/tf/about/background.html b/tf/about/background.html
index 9a8f4aabf..611ff0d17 100644
--- a/tf/about/background.html
+++ b/tf/about/background.html
@@ -149,7 +149,7 @@ History
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/background.md
diff --git a/tf/about/browser.html b/tf/about/browser.html
index 23c2fe255..1624de916 100644
--- a/tf/about/browser.html
+++ b/tf/about/browser.html
@@ -169,7 +169,7 @@ Unicode in Excel CSVs
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/browser.md
diff --git a/tf/about/clientmanual.html b/tf/about/clientmanual.html
index 47cddb5ff..f073ddecf 100644
--- a/tf/about/clientmanual.html
+++ b/tf/about/clientmanual.html
@@ -560,7 +560,7 @@ Credits
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/clientmanual.md
diff --git a/tf/about/code.html b/tf/about/code.html
index 35c9bc3bc..766193ffa 100644
--- a/tf/about/code.html
+++ b/tf/about/code.html
@@ -93,7 +93,7 @@ Writing
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/code.md
diff --git a/tf/about/corpora.html b/tf/about/corpora.html
index e9044cf6c..899a869d7 100644
--- a/tf/about/corpora.html
+++ b/tf/about/corpora.html
@@ -337,7 +337,7 @@ Extra data
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/corpora.md
diff --git a/tf/about/datamodel.html b/tf/about/datamodel.html
index 5e78eebe4..8e667335a 100644
--- a/tf/about/datamodel.html
+++ b/tf/about/datamodel.html
@@ -260,7 +260,7 @@ Serializing and precomputing
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/datamodel.md
diff --git a/tf/about/datasharing.html b/tf/about/datasharing.html
index e1b41f34a..be4c20a3e 100644
--- a/tf/about/datasharing.html
+++ b/tf/about/datasharing.html
@@ -354,7 +354,7 @@ More modules at the same time
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/datasharing.md
diff --git a/tf/about/displaydesign.html b/tf/about/displaydesign.html
index e09af3bfc..35a047a5b 100644
--- a/tf/about/displaydesign.html
+++ b/tf/about/displaydesign.html
@@ -146,7 +146,7 @@ Output
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/displaydesign.md
diff --git a/tf/about/faq.html b/tf/about/faq.html
index 29b387507..055cbc09f 100644
--- a/tf/about/faq.html
+++ b/tf/about/faq.html
@@ -156,7 +156,7 @@ GitHub Rate Limit Exceeded!
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/faq.md
diff --git a/tf/about/fileformats.html b/tf/about/fileformats.html
index e91a2c3e2..3e2aed7be 100644
--- a/tf/about/fileformats.html
+++ b/tf/about/fileformats.html
@@ -153,7 +153,7 @@ Single values
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/fileformats.md
diff --git a/tf/about/index.html b/tf/about/index.html
index e3602ca5e..3ae74eccc 100644
--- a/tf/about/index.html
+++ b/tf/about/index.html
@@ -28,7 +28,7 @@ Documents
Expand source code
-Browse git
+Browse git
"""
# Documents
diff --git a/tf/about/install.html b/tf/about/install.html
index bf9453610..45970f101 100644
--- a/tf/about/install.html
+++ b/tf/about/install.html
@@ -102,7 +102,7 @@ Note for Linux users
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/install.md
diff --git a/tf/about/manual.html b/tf/about/manual.html
index d1a0cf919..bf692ca58 100644
--- a/tf/about/manual.html
+++ b/tf/about/manual.html
@@ -384,7 +384,7 @@ Keyboard shortcuts
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/manual.md
diff --git a/tf/about/optimizations.html b/tf/about/optimizations.html
index 876e7997a..f5f7e0431 100644
--- a/tf/about/optimizations.html
+++ b/tf/about/optimizations.html
@@ -182,7 +182,7 @@ Edge features
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/optimizations.md
diff --git a/tf/about/releases.html b/tf/about/releases.html
index 7366a4c83..de75193b6 100644
--- a/tf/about/releases.html
+++ b/tf/about/releases.html
@@ -106,7 +106,7 @@ Older releases
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/releases.md
diff --git a/tf/about/releasesold.html b/tf/about/releasesold.html
index d9c4dde39..b3389b56a 100644
--- a/tf/about/releasesold.html
+++ b/tf/about/releasesold.html
@@ -3345,7 +3345,7 @@ Changed
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/releasesold.md
diff --git a/tf/about/searchdesign.html b/tf/about/searchdesign.html
index 04c830fda..a57d1d1a9 100644
--- a/tf/about/searchdesign.html
+++ b/tf/about/searchdesign.html
@@ -472,7 +472,7 @@ Small-first strategy
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/searchdesign.md
diff --git a/tf/about/searchusage.html b/tf/about/searchusage.html
index b37a6d6d9..2bb9749b7 100644
--- a/tf/about/searchusage.html
+++ b/tf/about/searchusage.html
@@ -769,7 +769,7 @@ Implementation
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/searchusage.md
diff --git a/tf/about/tests.html b/tf/about/tests.html
index e737a962e..e6367c128 100644
--- a/tf/about/tests.html
+++ b/tf/about/tests.html
@@ -66,7 +66,7 @@ Relations
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/tests.md
diff --git a/tf/about/use.html b/tf/about/use.html
index 178a93572..21ff3fb45 100644
--- a/tf/about/use.html
+++ b/tf/about/use.html
@@ -85,7 +85,7 @@ Text-Fabric API
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/use.md
diff --git a/tf/about/usefunc.html b/tf/about/usefunc.html
index 02992902c..5017b9955 100644
--- a/tf/about/usefunc.html
+++ b/tf/about/usefunc.html
@@ -401,7 +401,7 @@ Prevent data loading
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/usefunc.md
diff --git a/tf/about/variants.html b/tf/about/variants.html
index 1af53777a..b44fef43d 100644
--- a/tf/about/variants.html
+++ b/tf/about/variants.html
@@ -416,7 +416,7 @@ The stack
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/variants.md
diff --git a/tf/about/volumes.html b/tf/about/volumes.html
index 4df717492..4262b869d 100644
--- a/tf/about/volumes.html
+++ b/tf/about/volumes.html
@@ -318,7 +318,7 @@ Reflection
Expand source code
-Browse git
+Browse git
"""
.. include:: ../docs/about/volumes.md
diff --git a/tf/advanced/app.html b/tf/advanced/app.html
index 0ef148950..3de820000 100644
--- a/tf/advanced/app.html
+++ b/tf/advanced/app.html
@@ -26,7 +26,7 @@ Module tf.advanced.app
Expand source code
-Browse git
+Browse git
import types
import traceback
@@ -809,7 +809,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def findApp(
appName,
@@ -1099,7 +1099,7 @@ Returns
Expand source code
-Browse git
+Browse git
def loadApp(silent=DEEP):
"""Loads a given TF app or loads the TF app based on the working directory.
@@ -1163,7 +1163,7 @@ See Also
Expand source code
-Browse git
+Browse git
def useApp(appName, backend):
"""Make use of a corpus.
@@ -1263,7 +1263,7 @@ Parameters
Expand source code
-Browse git
+Browse git
class App:
def __init__(
@@ -1619,7 +1619,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hoist(self, hoist, silent=None):
"""Hoist the API handles of this TF app to the global scope.
@@ -1687,7 +1687,7 @@ Returns
Expand source code
-Browse git
+Browse git
def load(self, features, silent=SILENT_D):
"""Loads extra features in addition to the main dataset.
@@ -1725,7 +1725,7 @@ Returns
Expand source code
-Browse git
+Browse git
def reinit(self):
"""TF-Apps may override this method.
@@ -1760,7 +1760,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def reuse(self, hoist=False):
"""Re-initialize the app.
diff --git a/tf/advanced/condense.html b/tf/advanced/condense.html
index f7d83c925..fd58c5ca7 100644
--- a/tf/advanced/condense.html
+++ b/tf/advanced/condense.html
@@ -26,7 +26,7 @@ Module tf.advanced.condense
Expand source code
-Browse git
+Browse git
def condense(api, tuples, condenseType, multiple=False):
F = api.F
@@ -130,7 +130,7 @@ Functions
Expand source code
-Browse git
+Browse git
def condense(api, tuples, condenseType, multiple=False):
F = api.F
@@ -187,7 +187,7 @@ Functions
Expand source code
-Browse git
+Browse git
def condenseSet(api, tup, condenseType):
F = api.F
diff --git a/tf/advanced/data.html b/tf/advanced/data.html
index 3810bcfb1..6e109e446 100644
--- a/tf/advanced/data.html
+++ b/tf/advanced/data.html
@@ -26,7 +26,7 @@ Module tf.advanced.data
Expand source code
-Browse git
+Browse git
from ..core.helpers import itemize
from ..core.files import backendRep, expandDir, prefixSlash, normpath
@@ -397,7 +397,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getModulesData(*args):
"""Retrieve all data for a corpus.
@@ -457,7 +457,7 @@ Parameters
Expand source code
-Browse git
+Browse git
class AppData:
def __init__(
@@ -794,7 +794,7 @@ See Also
Expand source code
-Browse git
+Browse git
def getMain(self):
"""Get the main data of the corpus.
@@ -857,7 +857,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getModule(
self, org, repo, relative, checkout, backend=None, isBase=False, specs=None
@@ -974,7 +974,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getModules(self):
"""Get data from additional local directories.
@@ -1044,7 +1044,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getRefs(self):
"""Get data from additional modules.
@@ -1094,7 +1094,7 @@ See Also
Expand source code
-Browse git
+Browse git
def getStandard(self):
"""Get the data of the standard modules specified by the settings of the corpus.
diff --git a/tf/advanced/display.html b/tf/advanced/display.html
index 6a01bc418..a5ccd4c7a 100644
--- a/tf/advanced/display.html
+++ b/tf/advanced/display.html
@@ -64,7 +64,7 @@ See also
Expand source code
-Browse git
+Browse git
"""
# Display
@@ -1050,7 +1050,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def displayApi(app, silent=SILENT_D):
"""Produce the display API.
@@ -1115,7 +1115,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def displayReset(app, *options):
"""Restore display parameters to their defaults.
@@ -1173,7 +1173,7 @@ See Also
Expand source code
-Browse git
+Browse git
def displaySetup(app, **options):
"""Set up all display parameters.
@@ -1231,7 +1231,7 @@ See Also
Expand source code
-Browse git
+Browse git
def displayShow(app, *options):
"""Show display parameters.
@@ -1364,7 +1364,7 @@ Results
Expand source code
-Browse git
+Browse git
def export(app, tuples, toDir=None, toFile="results.tsv", **options):
"""Exports an iterable of tuples of nodes to an Excel friendly `.tsv` file.
@@ -1509,7 +1509,7 @@ Returns
Expand source code
-Browse git
+Browse git
def getCss(app):
"""Export the CSS for this app.
@@ -1564,7 +1564,7 @@ Returns
Expand source code
-Browse git
+Browse git
def loadCss(app):
"""Load the CSS for this app.
@@ -1650,7 +1650,7 @@ Result
Expand source code
-Browse git
+Browse git
def plain(app, n, _inTuple=False, _asString=False, explain=False, **options):
"""Display the plain text of a node.
@@ -1735,7 +1735,7 @@ Result
Expand source code
-Browse git
+Browse git
def plainTuple(
app,
@@ -1976,7 +1976,7 @@ Result
Expand source code
-Browse git
+Browse git
def pretty(app, n, explain=False, _asString=False, **options):
"""Displays the material that corresponds to a node in a graphical way.
@@ -2053,7 +2053,7 @@ Result
Expand source code
-Browse git
+Browse git
def prettyTuple(app, tup, seq=None, _asString=False, item=RESULT, **options):
"""Displays the material that corresponds to a tuple of nodes in a graphical way.
@@ -2165,7 +2165,7 @@ Result
Expand source code
-Browse git
+Browse git
def show(app, tuples, _asString=False, **options):
"""Displays an iterable of tuples of nodes.
@@ -2268,7 +2268,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def table(app, tuples, _asString=False, **options):
"""Plain displays of an iterable of tuples of nodes in a table.
diff --git a/tf/advanced/find.html b/tf/advanced/find.html
index 6d78e55ed..38dc41864 100644
--- a/tf/advanced/find.html
+++ b/tf/advanced/find.html
@@ -26,7 +26,7 @@ Module tf.advanced.find
Expand source code
-Browse git
+Browse git
import sys
from importlib import util
@@ -268,7 +268,7 @@ Returns
Expand source code
-Browse git
+Browse git
def findAppClass(appName, appPath):
"""Find the class definition of an app.
@@ -323,7 +323,7 @@ See Also
Expand source code
-Browse git
+Browse git
def findAppConfig(
appName,
@@ -476,7 +476,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def loadModule(moduleName, *args):
"""Load a module dynamically, by name.
diff --git a/tf/advanced/helpers.html b/tf/advanced/helpers.html
index a5fc8dc86..6cd2c41e5 100644
--- a/tf/advanced/helpers.html
+++ b/tf/advanced/helpers.html
@@ -26,7 +26,7 @@ Module tf.advanced.helpers
Expand source code
-Browse git
+Browse git
import collections
from textwrap import dedent
@@ -839,7 +839,7 @@ Functions
Expand source code
-Browse git
+Browse git
def backendRepl(match):
thisBackend.append(match.group(1))
@@ -869,7 +869,7 @@ Returns
Expand source code
-Browse git
+Browse git
def dh(html, inNb=True, unexpand=False):
"""Display HTML.
@@ -922,7 +922,7 @@ Returns
Expand source code
-Browse git
+Browse git
def dm(md, inNb=True, unexpand=False):
"""Display markdown.
@@ -960,7 +960,7 @@ Returns
Expand source code
-Browse git
+Browse git
def getHeaderTypes(app, tuples):
api = app.api
@@ -999,7 +999,7 @@ Returns
Expand source code
-Browse git
+Browse git
def getHeaders(app, tuples):
headerTypes = getHeaderTypes(app, tuples)
@@ -1023,7 +1023,7 @@ Returns
Expand source code
-Browse git
+Browse git
def getLocalDir(backend, cfg, local, version):
provenanceSpec = cfg.get("provenanceSpec", {})
@@ -1063,7 +1063,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getResultsX(app, results, features, condenseType, fmt=None):
"""Transform a uniform iterable of nodes into a table with extra information.
@@ -1159,7 +1159,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getRowsX(app, tuples, features, condenseType, fmt=None):
"""Transform an iterable of nodes into a table with extra information.
@@ -1183,7 +1183,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getText(
app, isPretty, n, nType, outer, first, last, level, passage, descend, options=None
@@ -1276,7 +1276,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getTuplesX(app, results, condenseType, fmt=None):
"""Transform a non-uniform iterable of nodes into a table with extra information.
@@ -1344,7 +1344,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def getValue(app, n, nType, feat, suppress, math=False):
F = app.api.F
@@ -1373,7 +1373,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hData(x):
if not x:
@@ -1404,7 +1404,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hDict(x, outer=False):
elem = f"{'o' if outer else 'u'}l"
@@ -1434,7 +1434,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hEmpty(x):
return (
@@ -1456,7 +1456,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hList(x, outer=False):
elem = f"{'o' if outer else 'u'}l"
@@ -1484,7 +1484,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hScalar(x):
if type(x) is str:
@@ -1504,7 +1504,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hScalar0(x):
tpv = type(x)
@@ -1549,7 +1549,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def hasData(backend, local, org, repo, version, relative):
versionRep = f"/{version}" if version else ""
@@ -1574,7 +1574,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def htmlSafe(text, isHtml, math=False):
return text.replace("\n", "<br>") if isHtml else htmlEsc(text, math=math)
@@ -1592,7 +1592,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def isUniform(app, tuples):
"""Whether the members of tuples are uniform.
@@ -1634,7 +1634,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def parseFeatures(features):
if (
@@ -1663,7 +1663,7 @@ Parameters
Expand source code
-Browse git
+Browse git
def parseFeaturesLogical(feats):
bare = []
@@ -1689,7 +1689,7 @@ Parameters