This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rolesrepo="https://dev.azure.com/[org]/[project]/_apis/git/repositories?api-version=5.0" | |
personal_access_token="Username:zzzzzzzzz" #create PAT from secruity menu of your user profile. | |
user="" | |
base64AuthInfo="$(echo $personal_access_token | base64))" | |
#printf "The string\n[$personal_access_token]\nencodes into base64 as:\n[$base64AuthInfo]\n" | |
#curl $rolesrepo -H "Authorization=Basic $base64AuthInfo" | |
curl --request GET \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nltk.probability import FreqDist | |
import math | |
import pickle | |
from top2vec import Top2Vec | |
import numpy as np | |
from gensim.utils import simple_preprocess | |
from gensim.parsing.preprocessing import strip_tags | |
from tqdm import tqdm | |