```ITA 受控英语 (CE)```
ITA Controlled English (CE)

原始链接: https://github.com/ce-store/ce-store

受控英语(Controlled English,简称 CE)是由 IBM 开发的一种开源结构化语言,它能够创建既可供人类阅读又可供机器读取的模型。通过使用简单的、基于句子的语法来定义概念和实例,用户可以构建易于查询和管理的数据模型。 CE Store 为处理这些模型提供了一个完整的环境。其主要功能包括: * **工程面板 (Engineering Panel):** 一个用于管理模型、查看数据及执行查询的网页界面。 * **灵活部署:** 用户可以通过 IBM Cloud 快速部署实例,或者使用 Apache Maven、Docker 或 Vagrant 进行本地托管。 * **资源:** 该平台包含全面的教程、视频指南和示例数据集(如医疗模型),以帮助初学者入门。 作为采用 Apache 2.0 许可的项目,CE Store 提供了一个实验性研究环境,鼓励社区贡献与开发。有关安装说明、模型文档和教程,请访问官方维基页面。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 ITA 控制英语 (CE) (github.com/ce-store) 5 分 | 由 teleforce 于 1 小时前发布 | 隐藏 | 过往 | 收藏 | 讨论 | 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Controlled English is a form of structured English that allows you to define models of concepts, their properities and relationships, that is both Human and machine readable.

The CE Store contains everything you need to get started with a Controlled English environment.

We are an IBM initiated open source organisation focused on providing an experimental research environment for the ITA Controlled English language.

A CE model contains all of the information about the data loaded into the CE Store. It is built from sentences which contain concepts and instances.

  • A sentence always ends with a full stop.
  • A concept defines a thing.
  • An instance is a single occurrence of that concept/thing.

An example of a sentence that defines a concept in CE is as follows:

conceptualise a ~ planet ~ P that has the value M as ~ mass ~ and has the value R as ~ radius ~.

We can then define an instance of a planet called 'Earth' using another CE sentence:

there is a planet named 'Earth' that has '5.972 × 10^24' as mass and has 6371 as radius.

For more detailed examples you can go to the Tutorials section of the wiki or watch a video for a detailed overview with examples (22 mins 48 seconds).

Installation and Setup - Use CE in IBM Cloud

Deploy to IBM Cloud

An easy way to get started with Controlled English is through IBM Cloud. You can sign up to IBM Cloud for free, and once you've got an account, clicking the button above will automatically deploy a Cloud-hosted instance of your very own CE Store.

Important Note: After deployment to IBM Cloud you will find your ce-store running in http://(your IBM Cloud url)/ce-store/ rather than in the root of the IBM Cloud url. Therefore, to access the ce-store via the engineering panel you would navigate to http://(your IBM Cloud url)/ce-store/ui/

Installation and Setup - Run CE on your own machine

Clone the code

git clone https://github.com/ce-store/ce-store

Using Apache Maven, run the following command to start up the CE Store application using an embedded Tomcat server.

mvn install
mvn tomcat:run

The CE Store will be available at the following URL http://localhost:8080/ce-store

docker pull cestore/ce-store
docker run --rm -it -p 8080:8080 cestore/ce-store

Use Apache Maven to build a WAR file for the project with the following command.

This WAR file can be built into a Docker image with the command below.

docker build -t ce-store .

Then start the container from this image running locally.

docker run --rm -it -p 8080:8080 ce-store

The CE Store will be available at the following URL http://localhost:8080/ce-store

Requires Vagrant to be installed.

vagrant up
vagrant ssh
cd /vagrant

Then follow the steps in Using Apache Maven.

The Engineering Panel provides a simple web interface to the CE Store, enabling the user view the contents of the CE Store, to load new CE sentences, run queries agains the store, and more.

To open the Engineering Panel go to <SERVER>/ce-store/ui. It should look like this:

Engineering Panel

The engineering panel has four main areas:

  • [Left] Model operations: CE models can be loaded and modified.
  • [Right] Object pane: Contents of a CE store can be viewed.
  • [Bottom] Messages: Errors will be reported here
  • [Centre] Working area: Interactions with the model.

The CE Store comes with a sample set of CE sentences to build a model about medical data. The wiki includes a tutorial for using the Medicine model.

Read about contributing here.

Licensed under the Apache License, Version 2.0

联系我们 contact @ memedata.com