18 using System.Collections.Generic;
19 using System.ComponentModel;
23 using TraceLabSDK.Component.Config;
24 using TraceLabSDK.Types;
26 namespace TraceLab.Components.Library.Importers.SimilarityMatrices
28 [Component(Name =
"Answer Matrix Importer",
29 Description =
"Imports an answer matrix in the form of {SOURCE TARGET1 TARGET2 ...\\n}",
30 Author =
"SEMERU; Evan Moritz",
32 ConfigurationType = typeof(AnswerMatrixImporterConfig))]
33 [IOSpec(IOSpecType.Output,
"AnswerMatrix", typeof(TLSimilarityMatrix))]
34 [Tag(
"Importers.TLSimilarityMatrix.From TXT")]
43 Configuration = _config;
48 Workspace.Store(
"AnswerMatrix", DevelopmentKit.IO.Oracle.Import(_config.OracleDocument.Absolute));
54 [DisplayName(
"Oracle file")]
55 [Description(
"Oracle file location")]
56 public FilePath OracleDocument {
get; set; }