public RTMComponent(ComponentLogger log) : base(log) { _config = new RTMConfig(); Configuration = _config; }
/// <summary> /// Constructor /// </summary> /// <param name="source">Source artifacts</param> /// <param name="target">Target artifacts</param> /// <param name="config">Configuration object</param> public RTMScript(TermDocumentMatrix source, TermDocumentMatrix target, RTMConfig config) : base() { _corpus = new LDACorpus("RTM", source, target); _config = config; }
/// <summary> /// Constructor /// </summary> /// <param name="matrix">Input matrix</param> /// <param name="sourceIDs">Source artifacts ids</param> /// <param name="targetIDs">Target artifacts ids</param> /// <param name="config">Configuration object</param> public RTMScript(TermDocumentMatrix matrix, IEnumerable<string> sourceIDs, IEnumerable<string> targetIDs, RTMConfig config) { _corpus = new LDACorpus("RTM", matrix, sourceIDs, targetIDs); _config = config; }
/// <summary> /// Constructor /// </summary> /// <param name="source">Source artifacts</param> /// <param name="target">Target artifacts</param> /// <param name="config">Configuration object</param> public RTMScript(TLArtifactsCollection source, TLArtifactsCollection target, RTMConfig config) : base() { _corpus = new LDACorpus("RTM", new TermDocumentMatrix(source), new TermDocumentMatrix(target)); _config = config; }