Skema
SKEMA: Scientific Knowledge Extraction and Model Analysis
Install / Use
/learn @ml4ai/SkemaREADME
SKEMA: Scientific Knowledge Extraction and Model Analysis
This is the main code repository for the SKEMA project. It contains the source code and documentation for the text reading, structural alignment, and model role analysis components of SKEMA.
For details, see our project documentation
Directory structure
This repository contains code written in Python, Rust, and Scala. The directory structure has been chosen to make the components written in all these languages coexist peacefully.
At the top level, we have the following files and directories:
Dockerfile.skema-py: Dockerfile for the skema python library (includes program analysis, img2mml, and isa components).Dockerfile.skema-rs: Dockerfile for the skema-rs service.LICENSE.txt: License for the software components in this repository.README.md: This README file.scripts: Miscellaneous scriptspyproject.toml: This file declares and defines theskemaPython package.skema
The skema directory contains two different types of directories:
- A Rust workspace:
skema-rs - A number of Python subpackages:
program_analysisgrometmodel_assemblytext_readingskema_py: Web service for converting code to GroMEt function networks and pyacsets.img2mml: Web service for extracting equations from images.
Of the Python subpackages, the last two (skema_py and img2mml) are
currently the most 'outward/user-facing' components. The program_analysis,
gromet, and model_assembly directories are comprised primarily of library
code that is used by the skema-py service.
The text_reading directory contains three subdirectories:
mention_linking: Python subpackage for linking mentions in code and texttext_reading: Scala project for rule-based extraction of mentions of scientific concepts.notebooks: Jupyter notebooks for demoing text reading/mention linking functionality.
Python
For instructions on installing our Python library, please see our developer documentation.
Other
The README.md files in the skema/skema-rs and
skema/text_reading/text_reading directories provide instructions on how to
run the software components that are written in Rust and Scala respectively.
Docker
For information on our releases and published docker images, please see this page
Examples
We maintain several containerized examples demonstrating system capabilities at https://github.com/ml4ai/ASKEM-TA1-DockerVM.
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
