@@ -28,13 +28,13 @@ Due to normalisation and standardisation, feature weights discovered in the trai
2828
2929### To test using lexicon based model
3030```
31- Wikiled.Sentiment.ConsoleApp.exe test -Out=[OutPut ] -Input=[Folder/File]
32- Wikiled.Sentiment.ConsoleApp.exe test -Out=[OutPut] - Positive=[Folder/File] -Negative=[Folder/File]
31+ Wikiled.Sentiment.ConsoleApp.exe test -All=[Folder/File ] -Out=[OutPut]
32+ Wikiled.Sentiment.ConsoleApp.exe test -Positive=[Folder/File] -Negative=[Folder/File] -Out=[OutPut ]
3333```
3434
3535### To override lexicon
3636```
37- Wikiled.Sentiment.ConsoleApp.exe test -Out=[OutPut ] -Input=[Folder/File ] -Weights[WeightsFile] -FullWeightReset
37+ Wikiled.Sentiment.ConsoleApp.exe test -All=[Folder/File ] -Out=[OutPut ] -Weights[WeightsFile] -FullWeightReset
3838```
3939
4040### To train with non default lexicon
@@ -44,7 +44,7 @@ Wikiled.Sentiment.ConsoleApp.exe train -Positive=[Folder/File] -Negative=[Folder
4444
4545### To Test with trained model
4646```
47- Wikiled.Sentiment.ConsoleApp.exe test -Out=[OutPut] -Input =[Folder/File] -Model=[Path to Trained Model]
47+ Wikiled.Sentiment.ConsoleApp.exe test -Out=[OutPut] -All =[Folder/File] -Model=[Path to Trained Model]
4848```
4949
5050## Docker service
@@ -53,24 +53,25 @@ An application is also available as a standalone docker based REST service, avai
5353
5454## Linux support
5555
56- [ Supported OS] ( https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0 -supported-os.md )
56+ [ Supported OS] ( https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1 -supported-os.md )
5757
5858* Install [ dotnet core] ( https://www.microsoft.com/net/download/ )
5959* Retrieve GIT repository source
6060* dotnet build src/Utilities/Wikiled.Sentiment.ConsoleApp --configuration Release
61- * dotnet src/Utilities/Wikiled.Sentiment.ConsoleApp/bit/Release/netcoreapp2.0 /Wikiled.Sentiment.ConsoleApp.dll test -Input =[ path to files] -out=Result -ExtractStyle]
61+ * dotnet src/Utilities/Wikiled.Sentiment.ConsoleApp/bit/Release/netcoreapp3.1 /Wikiled.Sentiment.ConsoleApp.dll test -All =[ path to files] -out=Result -ExtractStyle]
6262
6363## C# Library
6464
6565
6666### Training model
6767
6868```
69- var factory = MainContainerFactory.Setup()
70- .Config()
71- .Splitter();
72-
73- container = factory.Create().StartSession();
69+ container = MainContainerFactory
70+ .Setup(service)
71+ .SetupLocalCache()
72+ .Config(item => item.SetConfiguration("resources", Path.Combine(TestContext.CurrentContext.TestDirectory, ConfigurationManager.AppSettings["resources"])))
73+ .Splitter()
74+ .Create();
7475ITrainingClient client = container.GetTraining(Model);
7576await client.Train(reviews).ConfigureAwait(false);
7677
0 commit comments