Stog library reference documentation : Stog_info

Module Stog_info

module Stog_info: sig .. end
Computing information from stog structure (graphs, ...).

val compute : Stog_types.stog -> Stog_types.stog
Compute internals graphs between documents.
val succ_by_date : Stog_types.stog -> Stog_types.Graph.key -> Stog_types.Graph.key option
Get the next document by date.
val pred_by_date : Stog_types.stog -> Stog_types.Graph.key -> Stog_types.Graph.key option
Get the previous document by date.
val dot_of_graph : (Stog_types.doc -> Neturl.url) -> Stog_types.stog -> string
Get graphviz code from the given stog structure, to create a graph showing edges between (clickable) documents; the edges are annotated by the topic and keywords.
val remove_not_published : Stog_types.stog -> Stog_types.stog
Keep in the stog structure only the documents matching the Stog_types.stog.stog_publish_only filter, if any.