18 using System.Collections.Generic;
22 using TraceLabSDK.Types;
23 using System.ComponentModel;
24 using TraceLabSDK.Component.Config;
26 namespace TraceLab.Components.Library.Importers.SimilarityMatrices
28 [Component(Name =
"Answer Matrix Directory Importer",
29 Description =
"Imports an answer matrix from a directory of files. Each file name is a source artifact, and each line of the file is a target.",
30 Author =
"SEMERU; Evan Moritz",
33 [IOSpec(IOSpecType.Output,
"AnswerMatrix", typeof(TLSimilarityMatrix))]
34 [Tag(
"Importers.TLSimilarityMatrix.From DIR")]
43 Configuration = _config;
48 Workspace.Store(
"AnswerMatrix", DevelopmentKit.IO.Oracle.ImportDirectory(_config.OracleDirectory.Absolute));
54 [DisplayName(
"Oracle directory")]
55 public DirectoryPath OracleDirectory {
get; set; }