Header menu logo ARCTokenization

AnnotationTable Module

Functions to work with FsTables into graph-based models.

Types

Type Description

TokenizedAnnotationTable

Functions and values

Function or value Description

getAnnotationTables workbook

Full Usage: getAnnotationTables workbook

Parameters:
Returns: FsTable list

Takes an FsWorkbook and returns all Annotation Tables it contains.

workbook : FsWorkbook
Returns: FsTable list

getDataCellsOf fcc table headerCell

Full Usage: getDataCellsOf fcc table headerCell

Parameters:
Returns: FsCell list

Returns all data cells from a given header cell by using a given FsCellsCollection and a given FsTable.

fcc : FsCellsCollection
table : FsTable
headerCell : FsCell
Returns: FsCell list

getHeaderCellsOf fcc table

Full Usage: getHeaderCellsOf fcc table

Parameters:
Returns: FsCell seq

Returns all header cells from a given FsCellsCollection and a given FsTable.

fcc : FsCellsCollection
table : FsTable
Returns: FsCell seq

groupTermRelatedBuildingBlocks table fcc cl

Full Usage: groupTermRelatedBuildingBlocks table fcc cl

Parameters:
Returns: FsCell list list

Takes a list of header cells from Term-related Building Blocks and groups them into a list of Building Block units. (1 inner list = 1 Building Block unit)

table : FsTable
fcc : FsCellsCollection
cl : FsCell list
Returns: FsCell list list

parseIOColumns fcc table headerCell

Full Usage: parseIOColumns fcc table headerCell

Parameters:
Returns: CvParam list

Takes a header cells and an FsCellsCollections and returns a list of CvParams according to the information from the FsCells. This function should only be used for parsing input-, output-, and featured columns.

fcc : FsCellsCollection
table : FsTable
headerCell : FsCell
Returns: CvParam list

parseTermRelatedBuildingBlocks crStart table fcc cl

Full Usage: parseTermRelatedBuildingBlocks crStart table fcc cl

Parameters:
Returns: CvParam list

Takes a list of header cells and an FsCellsCollections and returns a list of CvParams according to the information from the FsCells. If `crStart` is true, it is assumed that the first header cell is a Term containing header cell of a Building Block. This function should only be used for parsing Term-related Building Blocks.

crStart : bool
table : FsTable
fcc : FsCellsCollection
cl : FsCell list
Returns: CvParam list

parseWorkbook wb

Full Usage: parseWorkbook wb

Parameters:
Returns: (string * TokenizedAnnotationTable) list

Takes an FsWorkbook and returns a list of worksheet names and their respective IO columns as CvParam lists and Term-related Building Blocks as CvParam lists. (inner CvParam list: CvParams of a column, outer CvParam list: all columns in a worksheet's AnnotationTable)

wb : FsWorkbook
Returns: (string * TokenizedAnnotationTable) list

splitColumns table fcc cl

Full Usage: splitColumns table fcc cl

Parameters:
Returns: FsCell list * FsCell list

Takes a list of header cells and splits them into a tuple of IO column header cells and Term-related Building Block header cells by using a given FsCellsCollection and a given FsTable.

table : FsTable
fcc : FsCellsCollection
cl : FsCell list
Returns: FsCell list * FsCell list

Type something to start searching.