This file contains hidden or 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
{"label":"SKILL","pattern":[{"TEXT":".NET"}]} | |
{"label":"SKILL","pattern":[{"LOWER":""},{"LOWER":"net"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"1password"}]} | |
{"label":"SKILL","pattern":[{"TEXT":"3D"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"3d"},{"LOWER":"reconstruction"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"aboutness"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"abstract"},{"LOWER":"data"},{"LOWER":"type"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"abstract"},{"LOWER":"interpretation"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"abstract"},{"LOWER":"machine"}]} | |
{"label":"SKILL","pattern":[{"LOWER":"access"},{"LOWER":"control"}]} |
This file contains hidden or 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 spacy.lang.en import English | |
import os | |
nlp = English() | |
ruler = nlp.add_pipe("entity_ruler").from_disk(f"{os.getcwd()}/rule_based_matching/skills.jsonl") | |
text = """[email protected] +2348030960928, +2348120516552. abiolayakubu/ yakubu234 | |
SUMMARY | |
Experience Backend Engineer with expertise in developing and maintaining high-performance backend systems. I have experience with a | |
variety of programming languages and technologies, including PHP, Laravel, CodeIgniter, NodeJS, Express, Typescript, Spring boot and |
This file contains hidden or 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
pragma solidity ^0.6.4; | |
contract Token { | |
... | |
... | |
mapping(address => uint) public balanceOf; | |
event Transfer(address indexed _from, address indexed _to, uint256 _value); | |
This file contains hidden or 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
pragma solidity ^0.6.4; | |
contract Token { | |
... | |
... | |
mapping(address => uint) public balanceOf; | |
event Transfer(address indexed _from, address indexed _to, uint256 _value); | |
function transfer(address _to, uint _value) public returns (bool success) { |
This file contains hidden or 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
pragma solidity ^0.6.4; | |
contract Token { | |
uint public totalSupply; | |
mapping(address => uint) public balanceOf; | |
constructor(uint _totalSupply) { | |
totalSupply = _totalSupply; | |
balance[msg.sender] = _totalSupply; | |
} |
This file contains hidden or 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
pragma solidity ^0.6.4; | |
contract Token { | |
uint public totalSupply; | |
constructor(uint _totalSupply) { | |
totalSupply = _totalSupply; | |
} | |
} |
This file contains hidden or 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
pragma solidity ^0.6.4; | |
contract Token { | |
} |
This file contains hidden or 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
pragma solidity ^0.6.4; | |
contract Token { | |
uint public decimals = 18; | |
string public symbol = 'AT'; | |
string public name = 'Agoi Token'; | |
} |
This file contains hidden or 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
module.exports = { | |
networks: { | |
development: { | |
host: "127.0.0.1", // Localhost (default: none) | |
port: 7545, // Standard Ethereum port (default: none) | |
network_id: "*", // Any network (default: none) | |
}, | |
}, |
This file contains hidden or 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
pragma solidity ^0.5.3; | |
contract Mapping { | |
mapping(address => uint) balances; | |
mapping(address => mapping(address => bool)) approved; | |
function manipulateMapOfMap(spender) external { | |
approved[msg.sender][spender] = true //assign a value to the approved map | |
approved[msg.sender][spender]; //get the value of the map |
NewerOlder