C# Azure functions translator [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I began to study the azure function
An interesting question is how to implement the function of translating text into any language
I searched for books and googled, and watched the training videos on YouTube, but could not realize it
Also in the future, the process of testing functions is interesting.
For example, how to send a million requests and track errors
Can anyone tell me how to implement this function-translator? Or someone has similar.
Thanks

You can use Cognitive Services (Text API) which will perform the translations for you.
Here's a sample about how to do it: https://learn.microsoft.com/en-us/azure/cognitive-services/translator/quickstart-translate?pivots=programming-language-csharp
Another good example in here: https://anthonychu.ca/post/realtime-captioning-translation-cognitive-services-signalr-azure-functions/ (this one with Azure Functions)
and more info about the supported languages: https://learn.microsoft.com/en-us/azure/cognitive-services/translator/language-support

Related

Send request to plugin and get result in C# [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 11 months ago.
Improve this question
I have software that takes your request, And I want to control requests with the plugins.
Fore example console writes: Enter Request: and i write time
well, Now I want the software to check if any plugin supports this command and then turn back the time and more (day, mouth, list of plugins, ...).
I looked at other sources but could not implement the project.
I hope someone can help me. :) Thanks.
I think you can adapt this MS tutorial and get what you want.
https://docs.miosoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support
It shows how to load pluggins and execute. From what you are describing this is what you are looking.

How to find Exterior wall facing south-east, south-west, north-east, north-west in C# Revit API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I need to find "exterior wall facing" in c# revit API...please help me. I want the wall facing.. the wall is in which facing like southEast, southwest, northeast, northwest.
I have referred this link
https://thebuildingcoder.typepad.com/blog/2010/01/south-facing-walls.html
i have use the math.abs(AngleToSouth) * 57.2958=angle in degree
57.2958 is redian
but not getting
thank you
Please always perform some minimal research before asking a question.
One of the places to look for answers to Revit API questions is in the sample collection included with the Revit SDK.
In this case, the sample DirectionCalculation demonstrates exactly what you are asking for.

How to make the currency for an economy bot? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am trying to make an economy bot for discord using C#. I am confused about how I am going to do it. I might have to use databases but in that case how do I make it so it makes a new line for every user that has used the command. Any help would be nice, thanks.
You need to use a database. If this is your first time using databases, I highly recommened SQLite. You should also see video tutorials such as this one.
Once you have familiarised yourself with a SQLite databases then you will be able to answer your own question extremely easily. It is not difficult and requires some very simple logic. Attempt it yourself first and if you are still stuck reply to this answer.
Consider viewing this W3Schools resource when you are comfortable with the basics.

How to program in C# using SFML.NET? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have an understanding of C++ and C#, I just don't understand how to use SFML.NET without any documentation. I know that the API is almost exactly the same, I just don't understand bindings fully.
The API is indeed similar. Have a look at the examples (online here or with the SDK). You should be able to figure it out quite easily once your have read the C++ tutorials and those examples.

How to fetch Gmail contacts? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have a scenario in my current application where I want to fetch the Gmail id's of my users.
Could anyone tell me the way with piece of code in C#?
Note: I am developing a web-base application in asp.net with C#.
Use the google contacts api there are C# sample there.
You can use the Google Accounts API.
You can find an example here.
Take a look at the open source .Net library gmailapi.The GmailAgent has a GetContacts method for retrieving all the contacts.

Categories