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
import React, { useEffect, useState } from "react"; | |
import { ethers } from "ethers"; | |
import './App.css'; | |
import abi from './utils/WavePortal.json'; | |
const App = () => { | |
const [currentAccount, setCurrentAccount] = useState(""); | |
/** | |
* Create a varaible here that holds the contract address after you deploy! | |
*/ |
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
import re | |
import nltk | |
from nltk.corpus import stopwords | |
import pandas as pd | |
stop_words = set(stopwords.words("english")) | |
def get_first_title(title): | |
# keep "co-founder, co-ceo, etc" | |
title = re.sub(r"[Cc]o[\-\ ]","", title) |
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
/** Config part */ | |
var FIXED_SIZE = 600; | |
var FIXED_MEASURE = 'Height'; | |
/** Name maping */ | |
var fixedName = FIXED_MEASURE; | |
var resName = fixedName === 'Height' ? 'Width' : 'Height'; | |
var FIXED_NAME = fixedName.toUpperCase(); | |
var RES_NAME = resName.toUpperCase(); |