ToolGood

Results 43 comments of ToolGood

[read.PDF](https://github.com/toolgood/OtherFiles/blob/master/PdfSharpCore/read.PDF)

``` class Program { static void Main(string[] args) { var bytes = File.ReadAllBytes("read.PDF"); using (var ms = new MemoryStream(bytes)) { var document = PdfReader.Open(ms);// throw error } } } ```

Application has no errors ``` C# AlgorithmEngine engine = new AlgorithmEngine(); var dt = engine.TryEvaluate("value(\"0.00055\")*10", 0.0); Assert.AreEqual(dt, 0.0055,6); ```

``` C# AlgorithmEngine engine = new AlgorithmEngine(); var dt = engine.TryEvaluate("value(\"0.00055\")*10", 0); // If you change it like this, you will make mistakes Assert.AreEqual(dt, 0.0055,6); ```

> > > 顺便小问一下,为什么重启翻译出来时ZhongQi hhhhhh 拼音库不全,所以会出现这个问题

var pys = PinyinDict.GetPinyinList(text, tone ? 1 : 0); StringBuilder stringBuilder = new StringBuilder(); bool pre = false; for (int i = 0; i < text.Length; i++) { var py...

if (py.Length > 1 || (text[i] >= 0x3400 && text[i]= 0x3400 && text[i]

最新的资源包含了大量的拼音, 你可以https://github.com/toolgood/ToolGood.Words下载拼音的资源包进行编辑,重新行成dll文件

There are different design concepts between pytorch and TorchSharp, python code ``` py self.conv1 = nn.Conv1d(in_channels=d_model, out_channels=d_ff, kernel_size=1, bias=False) ``` C# code ``` cs this.conv1 = nn.Conv1d(inputChannel: d_model, outputChannel: d_ff,...

@uxmal I have written part of the code to convert to TorchSharp, using text replacement and regular replacement.