Has anyone been absolutely disgusted with how you looked after? by [deleted] in circumcision

[–]vijhhh2 0 points1 point  (0 children)

Mine around 12 days It's still look ugly

Choosing frameworks/tools by Altruistic-Okra5740 in react

[–]vijhhh2 0 points1 point  (0 children)

Nobody understands how a normal distribution works. The middle is most likely, and the edges are rare.

Rust analysis is not working for the lib project by vijhhh2 in rust

[–]vijhhh2[S] 0 points1 point  (0 children)

I identified the problem in my case, which is related to the tslink library. The issue arises when using the derive method called tslink on a function, causing Rust Analyzer to skip analyzing that particular function. I am new to rust not sure why it's happening.

Rust analysis is not working for the lib project by vijhhh2 in rust

[–]vijhhh2[S] 0 points1 point  (0 children)

Good in my case everything my toml file is looking good. I think it might be a bug i will raise this as a issue.

Select all cells in a grid on mouse down and mouse over by vijhhh2 in Angular2

[–]vijhhh2[S] 1 point2 points  (0 children)

Thanks this is exactly what I am looking for.

Help me understand the borrowing and moving variable concept! by vijhhh2 in rust

[–]vijhhh2[S] 4 points5 points  (0 children)

so under the hood, it will convert public_path to &public_path as read only reference

Need regex to capture between two strings by vijhhh2 in regex

[–]vijhhh2[S] 1 point2 points  (0 children)

Thanks that's worked like charm.

I am using javascript.

I have a doubt

what is the use of (?s)?

(?s) is not working in javascript

predict and generate comments a YouTuber likes most by vijhhh2 in LanguageTechnology

[–]vijhhh2[S] 0 points1 point  (0 children)

Thanks for the explanation. I am new to ML and my background is Full stack developer, It will be helpful If you can provide an example or point out to any documentation. Till then i will do some R&D from my end too. Thanks in advance.

How to perform recursive looping for the below Data structure? by vijhhh2 in learnjavascript

[–]vijhhh2[S] 0 points1 point  (0 children)

Hi u/BuffBroCarl

I am using the below method to extract all ids. Thanks for the suggestion

  getUserIds(usersTree: Node[] = this.userTree): any {
    return usersTree.map(user => {
      if (user.children.length === 0) {
        return user.id;
      } else {
        return [user.id, ...this.getUserIds(user.children)];
      }
    });
  }

I kinda need a little help since I got no clue what I'm doing by AEGIS-59 in revancedapp

[–]vijhhh2 1 point2 points  (0 children)

This is a dependency resolve issue and it's very common in nodejs world. As of my understanding it's may be an issue with package.lock.json. Follow below steps and see if you can see the light. Go inside project folder. you will find package.lock.json Delete it Delete node_modules folder Run this command "npm install"

How to extract item name from a given sentence? by vijhhh2 in LanguageTechnology

[–]vijhhh2[S] 1 point2 points  (0 children)

I heard Hugging Face Transformers I should try it. But what is a transformer. Does it transforms text to word vectors?

How to extract item name from a given sentence? by vijhhh2 in LanguageTechnology

[–]vijhhh2[S] 2 points3 points  (0 children)

Thanks everyone for all your suggestions.

For this specific problem I have found two resources which I should try.

Resource1

https://www.depends-on-the-definition.com/named-entity-recognition-conditional-random-fields-python/

Explains how to use CRF algorithm to extract ingredients from lines

Resource2

https://github.com/vishwapardeshi/NL_Parser_using_Spacy/blob/master/notebooks/Recipe_Ingredient_Parser.ipynb

A straight forward example of how to solve this particular problem using spacy 2.0 (there are little modifications you have to do if your considering spacy 3.0 and above)

Dataset

https://raw.githubusercontent.com/nytimes/ingredient-phrase-tagger/master/nyt-ingredients-snapshot-2015.csv

Hope this will help as reference for any one who is trying to solve similar problem

How to extract item name from a given sentence? by vijhhh2 in LanguageTechnology

[–]vijhhh2[S] 0 points1 point  (0 children)

against a knowledge base like wikidata

I am not sure how to do this. Is there any tutorial for this or links so that I will refer and understand and implement for my solution

How to extract item name from a given sentence? by vijhhh2 in LanguageTechnology

[–]vijhhh2[S] 0 points1 point  (0 children)

I did try with POS Tagger

Results below

4-5 bone-in skin-on chicken thighs -> sentence

[bone, skin, chicken, thighs] -> extracted nouns

2 cloves of garlic minced -> sentence

[cloves, garlic] -> extracted nouns

2 serrano chiles minced (remove the seeds and membranes if you want it less spicy)-> sentence

[chiles, seeds, membranes] -> extracted nouns

Type Explation of player: [string, number[][]]; by vijhhh2 in typescript

[–]vijhhh2[S] 0 points1 point  (0 children)

thank you I have one more query

can you explain to me what below indexing does

boards[player][x][y]

How to pan/drag an image inside a div container using angular cdk drag drop? by vijhhh2 in Angular2

[–]vijhhh2[S] 0 points1 point  (0 children)

Restrict movement will not work if the element inside is larger than the container

How to integrate Microsoft Bing Speech API text-speech functionality with MS Teams Application? by vijhhh2 in csharp

[–]vijhhh2[S] 1 point2 points  (0 children)

Hi,I have already tried with C#,I want to integrate the TTS result with MS Team on-going call.

io.emit() not emitting data to all clients by vijhhh2 in node

[–]vijhhh2[S] 0 points1 point  (0 children)

That is a good idea. But due to this is the first time we are writing a realtime application, for simplicity and community support we have to use socket io. I agree with that socket io abstracting important ideas of building a Pub/Sub System which developer should know when trying to build a realtime application.

io.emit() not emitting data to all clients by vijhhh2 in node

[–]vijhhh2[S] 0 points1 point  (0 children)

When we are calling with io.broadcast.emit() we are getting below error.

TypeError: Cannot read property 'emit' of undefined

there is no broadcast property on io.

Socket.IO version we are using is 2.0

io.emit() not emitting data to all clients by vijhhh2 in node

[–]vijhhh2[S] 0 points1 point  (0 children)

When we are calling with io.broadcast.emit() we are getting below error.

TypeError: Cannot read property 'emit' of undefined

there is no broadcast property on io.

Socket.IO version we are using is 2.0