-
Notifications
You must be signed in to change notification settings - Fork 4
Home
You can also use BigSemantics in your Java or C# applications. The following of this section focuses on Java, but the process and paradigm applies to C# too.
You will need to set up a development environment.
To make it easy to use semantics in these applications, BigSemantics automatically generates native metadata classes in the target programming language, which have the same data structures as the metadata defined by wrappers, through the process of compiling. At runtime, BigSemantics will map extracted semantics to instances of these metadata classes, and your program can operate on these instances the same way as it operates on native objects. See the tutorial on Compiling Wrappers.
The BigSemantics runtime uses a callback mechanism to asynchronously return extracted metadata (as instances of metadata classes). You will need to first create a session, and then request semantics with a callback method. See details in Using Extracted Metadata in Programs.
With support from the underlying S.IM.PL. framework, extracted semantics can be serialized, transferred across systems, and deserialized into native objects in another program. Special handling is needed to make sure that information can be transferred correctly. See the tutorial on Exchanging semantic data across system boundaries.
We also included code samples in the BigSemantics source, for you to get started:
- The first example: basics
- Weather data collector
- Search multiple engines
- Link semantic data from different web sites