17 using TraceLab.Components.DevelopmentKit.Preprocessors.Stemmers.Porter;
19 using TraceLabSDK.Types;
21 namespace TraceLab.Components.Library.Preprocessors.Stemmers
23 [Component(Name =
"English Porter Stemmer",
24 Description =
"Stems the words to their roots using the Porter stemming algorithm.",
27 ConfigurationType = null)]
28 [IOSpec(IOSpecType.Input,
"listOfArtifacts", typeof(TraceLabSDK.Types.TLArtifactsCollection))]
29 [IOSpec(IOSpecType.Output,
"listOfArtifacts", typeof(TraceLabSDK.Types.TLArtifactsCollection))]
30 [Tag(
"Preprocessors.Stemmers")]
37 TLArtifactsCollection listOfArtifacts = (TLArtifactsCollection)Workspace.Load(
"listOfArtifacts");
39 Workspace.Store(
"listOfArtifacts", stemmed);