Crypto Like

Crypto Like

1613720809

What is Wolves of Wall Street (WOWS) | What is WOWS token

THE WOLVES OF WALL STREET is a project focused on innovating in the DeFi/NFT (non-fungible tokens) space by focusing on solid farming and DeFi fundamentals within two of the three pillars of DeFi: lending interest, and market-making fees. We are bringing gamification to sit on top of these fundamentals through the innovative use of what we believe is a world-first use of SFT’s (semi-fungible tokens) as mini DAOs, trading with their own unique contract profiles to farm and stake.

We are a team of five professionals, who are non-anon specialists in their field, intent on delivering a secure DeFi project in a way that merges visualized cryptocurrency and gamification with proven DeFi investment protocols, built entirely on open source code.

How we introduce innovative use of NFT’s into the DeFi space

NFT’s are most usually minted as ERC-721 tokens. These are unique non-fungible (non-replicable) tokens described as collectables. Because of their unique token features, they are perfect to be minted with artwork along with rarity such as 1 of 20 similar to printed artworks. This can be kittens, memes pretty much anything you want. So far so collectible. However, these NFT ERC-721 token types can’t do much more than being a collectible, and that is their value, but because they are not a currency (Fungible) they aren’t able to integrate with the 3 pillars of DeFi in a way that we feel gives innovation, higher value and expands the gamification element.

This is where other crypto gaming folks like Enjin or Aavegotchi come in. Enjin’s solution was to create a token type that is both currency and collectible at the same time and can hold value without wrapping it around token currency. This token format is called ERC-1155 - an SFT (Semi Fungible Token). Aavegotchi which also has a DeFi gamification goal uses their SFT’s with collateral staking value in order to then interact with AAVE protocol which is more similar to our project. In the meanwhile quite a few projects do use ERC-1155 tokens to enable users to stake what they believe are NFT’s but in reality, they are SFTs. Why complicate things by calling them SFTs when you just say “Stake your NFT to receive rewards!”

Our solution is more in-depth and our goal is to have our SFT’s jump fully into the DeFi space with both feet, and we do this by also using ERC-1155 token type but expanding its use-case with a unique wrapping of actual-entire Ethereum contracts in order to give our SFT’s complex decentralized, automated organizational (DAO) capabilities with individual and unique performance metrics when unleashed in Yearn and other well-established strategies. Rather than the platform being the DAO and contract holder, and different NFT’s, carriers of value, or using staking collateral like Aavegotchi that interact with that DAO, we are creating SFTs that are the DAO, unique in their capabilities befitting of their rarity, that once purchased and given budget and access to the trading floor, a.k.a. our d’app, can sit in your wallet creating unique levels of profit in multiple strategies. Users of SFTs can stake and farm in a decentralized manner which means your SFT can sit in your wallet without being locked into a platform and it will continue trading the value it has been assigned in the profit-seeking strategy. Additional locking in our liquidity and stable coin pools on our d’app is leveraging the return on investment significantly. Later abstractions will allow secret enhancements to each SFT in order to increase their overall capabilities and ability to gain rewards within the protocols and therefore allow for further gamification.

Your SFT will be gaining value through individual profit-seeking, rewards, enhancements, gamification, rarity and demand.

The exact gameplay and investment strategy within our protocol will be explained in the next article.

THE WOLVES and THE BOIS: Introducing our protagonists.

We are taking our project back to the core of DeFi: trading. Inhabiting the USA financial center of trading that is Wall Street. Who doesn’t want to be a wolf of wall street? — but in our case, you literally can. And like every good ecosystem, you need balance. We have two factions that interact with our DeFi pillars and they are 1. the liquidity providers which can stake their LP token (holder & stakers) and 2. the stable coin farmers.

Image for post

Our first groups are the holders and liquidity pool providers. Who better to represent a personification of lone holders and stakers than the eponymous Wolf. Made famous by films and fables, they are the true face of ruthless trading and cunning profit-seeking. Our wolves will be programmed to do your bidding at all costs. But they are also misunderstood. Yes they may exist as lone operators, yes they may be after quicker wins and early rewards, but they are often champions of projects and their existence largely feeds the success of a project and those around them, as well as benefiting the DeFi ecosystem.

Image for post

Our second group are stable coin farmers. We characterize them as the Good Bois aka the Bois, aka dogs. They are the dependable backbone of DeFi providing the large-scale stable coin liquidity befitting of large business owners and corporate leaders. As long-term strategy profit earners, they understand the benefits of the long play and compounding profit. Their stable coin interest and farming yield are further enhanced by compounding mechanics especially for Business Bois, a private glad-handing club for stable coin profit makers only. More on that later!

They are strong in their own right and are here to stay and here to earn, and yet paradoxically they aren’t always that beneficial to a given project due to their fondness for stable coin liquidity, DeFi strategies, and generally entitled existence. Because of this the wolves aren’t happy, and they’re going to do some corporate raiding - another unique feature to the d’app and the gamification concept. More about the exact gameplay you can find in our next article.

Website

Our marketing microsite is live.

This site will serve as an informational and aspirational center before our d’app goes online. Here you can find all information about the project, the roadmap and the team themselves. We are managing our pre-sale directly through a React element which calls into a unique Solidity contract on Ethereum, allowing the pre-sale to be fully decentralized, transparent and secure. More about the pre-sale you can find in our next article.

https://www.wolvesofwallstreet.finance/

Image for post

Image for post

Roadmap

For a clear orientation until the launch of the d’app we have created a roadmap which shows the most important milestones. This includes most importantly the pre-sale, the Uniswap listing and an AMA we will be doing prior pre-sale. More information will be updated in the next article.

Image for post

We are still at the beginning of an exciting journey, bringing DeFi, NFT and gamification into a high profit, secure, sustainable and fun use-case.

The WOLVES of WALL STREET — WOWS Token PreSale

The presale will be held starting on Monday 15th of February 2021 15:30 pm UTC and will go on for one week till Monday 22nd of February 2021 or till the goal of 75 ETH is reached, whichever comes first.

  • Presale will take place on our D’app — we will announce the domain 3.5hrs before the launch at 12pm UTC in our Telegram channel.
  • We are distributing 6000 WOWS for 1 ETH = 80 WOWS or 1 WOWS = round 20$ USD (fluctuates with the price of ETH)
  • The minimum purchase for WOWS token will be 0.2 ETH.
  • The maximum purchase of WOWS token will be 3 ETH.

For the presale, you will be offered two options to get the WOWS token:

  1. Buy WOWS token and have it sent directly to your wallet.
  2. Buy WOWS token and provide automatic liquidity into Uniswap with 50/50 ETH/WOWS LP token creation. This will be done seamlessly for you and you can start staking and earning WOWS rewards during the presale (Trading on Uniswap won’t be possible till the presale is closed)

Our goal is to collect 75 ETH in funds.

  • 50% will go directly into the Uniswap Liquidity pool contract and be locked for 12 Months after presale with Unicrypt. This is managed automatically within our presale contract so you can rest assured this is going to happen.
  • The other 50% will go to the Marketing and Development Wallet. With these funds, we will ensure that we can be active, flexible and reactive to marketing efforts via big campaigns in magazines, crypto websites, crypto youtube channels, suitable twitter promotions, general promotions and partnerships. SFT creation, artist payments and design for future artworks will also be a big part as well as ongoing development like implementing marketplaces, an NFT index or yield generating NFTs as a Service. Therefore tokens which are not sold in the presale will go into the WOWS development wallet.

What happens after presale and how we will be launching on Uniswap

After the presale goals are met, we will be closing the presale purchase site on our webpage and:

  1. Launch Trading on Uniswap
  2. Open the staking platform for the early adopters who haven’t already bought LP tokens. Those that aren’t already staking can now join in by manually creating your LP tokens and staking them to earn WOWS. ( we will provide visual instruction steps on how to do this for those not familiar. )

Early adopters who stake LOTTERY announcement

Early adopters who stake from 22nd of February 2021 (including the earlier presale stakers) until the official launch of the Cryptofolio purchase D’app will not only benefit from the higher APY at that moment, they will also be automatically entered into our exclusive lottery.

Lottery winner levels are:

GOLD: 2 winners will get the №1 mint of either a WOLF Level 2 Cryptofolio SFT or a BOIS Level 2 Cryptofolio SFT.

SILVER: 2 winners will get the №1 mint of either a WOLF Level 1 Cryptofolio SFT or a BOIS Level 1 Cryptofolio SFT.

BRONZE: 20 Winners will get 1 WOLF or BOIS Level 1 Cryptofolio SFT.

Lottery is chosen at random, unstaking or removing the LP token in that period disqualifies the participation.

The same lottery mechanics will go to everybody who is providing liquidity from 22nd of February 2021 till the launch of SFT level three and four.

Tokenomics reminder.

Please review our tokenomics and emissions chart below, any questions please ask us in our TG channel linked below.

Image for post

We are at the beginning of an exciting journey, bringing DeFi, NFT/SFT and gamification into a high profit, secure, sustainable and fun use-case.

Looking for more information…

WebsiteExplorerExplorer 2Source CodeSocial ChannelSocial Channel 2Message BoardCoinmarketcap

Would you like to earn WOWS right now! ☞ CLICK HERE

Top exchanges for token-coin trading. Follow instructions and make unlimited money

BinanceBittrexPoloniexBitfinexHuobi

Thank for visiting and reading this article! I’m highly appreciate your actions! Please share if you liked it!

#blockchain #bitcoin #crypto #wolves of wall street #wows

What is GEEK

Buddha Community

What is Wolves of Wall Street (WOWS) | What is WOWS token
Crypto Like

Crypto Like

1613720809

What is Wolves of Wall Street (WOWS) | What is WOWS token

THE WOLVES OF WALL STREET is a project focused on innovating in the DeFi/NFT (non-fungible tokens) space by focusing on solid farming and DeFi fundamentals within two of the three pillars of DeFi: lending interest, and market-making fees. We are bringing gamification to sit on top of these fundamentals through the innovative use of what we believe is a world-first use of SFT’s (semi-fungible tokens) as mini DAOs, trading with their own unique contract profiles to farm and stake.

We are a team of five professionals, who are non-anon specialists in their field, intent on delivering a secure DeFi project in a way that merges visualized cryptocurrency and gamification with proven DeFi investment protocols, built entirely on open source code.

How we introduce innovative use of NFT’s into the DeFi space

NFT’s are most usually minted as ERC-721 tokens. These are unique non-fungible (non-replicable) tokens described as collectables. Because of their unique token features, they are perfect to be minted with artwork along with rarity such as 1 of 20 similar to printed artworks. This can be kittens, memes pretty much anything you want. So far so collectible. However, these NFT ERC-721 token types can’t do much more than being a collectible, and that is their value, but because they are not a currency (Fungible) they aren’t able to integrate with the 3 pillars of DeFi in a way that we feel gives innovation, higher value and expands the gamification element.

This is where other crypto gaming folks like Enjin or Aavegotchi come in. Enjin’s solution was to create a token type that is both currency and collectible at the same time and can hold value without wrapping it around token currency. This token format is called ERC-1155 - an SFT (Semi Fungible Token). Aavegotchi which also has a DeFi gamification goal uses their SFT’s with collateral staking value in order to then interact with AAVE protocol which is more similar to our project. In the meanwhile quite a few projects do use ERC-1155 tokens to enable users to stake what they believe are NFT’s but in reality, they are SFTs. Why complicate things by calling them SFTs when you just say “Stake your NFT to receive rewards!”

Our solution is more in-depth and our goal is to have our SFT’s jump fully into the DeFi space with both feet, and we do this by also using ERC-1155 token type but expanding its use-case with a unique wrapping of actual-entire Ethereum contracts in order to give our SFT’s complex decentralized, automated organizational (DAO) capabilities with individual and unique performance metrics when unleashed in Yearn and other well-established strategies. Rather than the platform being the DAO and contract holder, and different NFT’s, carriers of value, or using staking collateral like Aavegotchi that interact with that DAO, we are creating SFTs that are the DAO, unique in their capabilities befitting of their rarity, that once purchased and given budget and access to the trading floor, a.k.a. our d’app, can sit in your wallet creating unique levels of profit in multiple strategies. Users of SFTs can stake and farm in a decentralized manner which means your SFT can sit in your wallet without being locked into a platform and it will continue trading the value it has been assigned in the profit-seeking strategy. Additional locking in our liquidity and stable coin pools on our d’app is leveraging the return on investment significantly. Later abstractions will allow secret enhancements to each SFT in order to increase their overall capabilities and ability to gain rewards within the protocols and therefore allow for further gamification.

Your SFT will be gaining value through individual profit-seeking, rewards, enhancements, gamification, rarity and demand.

The exact gameplay and investment strategy within our protocol will be explained in the next article.

THE WOLVES and THE BOIS: Introducing our protagonists.

We are taking our project back to the core of DeFi: trading. Inhabiting the USA financial center of trading that is Wall Street. Who doesn’t want to be a wolf of wall street? — but in our case, you literally can. And like every good ecosystem, you need balance. We have two factions that interact with our DeFi pillars and they are 1. the liquidity providers which can stake their LP token (holder & stakers) and 2. the stable coin farmers.

Image for post

Our first groups are the holders and liquidity pool providers. Who better to represent a personification of lone holders and stakers than the eponymous Wolf. Made famous by films and fables, they are the true face of ruthless trading and cunning profit-seeking. Our wolves will be programmed to do your bidding at all costs. But they are also misunderstood. Yes they may exist as lone operators, yes they may be after quicker wins and early rewards, but they are often champions of projects and their existence largely feeds the success of a project and those around them, as well as benefiting the DeFi ecosystem.

Image for post

Our second group are stable coin farmers. We characterize them as the Good Bois aka the Bois, aka dogs. They are the dependable backbone of DeFi providing the large-scale stable coin liquidity befitting of large business owners and corporate leaders. As long-term strategy profit earners, they understand the benefits of the long play and compounding profit. Their stable coin interest and farming yield are further enhanced by compounding mechanics especially for Business Bois, a private glad-handing club for stable coin profit makers only. More on that later!

They are strong in their own right and are here to stay and here to earn, and yet paradoxically they aren’t always that beneficial to a given project due to their fondness for stable coin liquidity, DeFi strategies, and generally entitled existence. Because of this the wolves aren’t happy, and they’re going to do some corporate raiding - another unique feature to the d’app and the gamification concept. More about the exact gameplay you can find in our next article.

Website

Our marketing microsite is live.

This site will serve as an informational and aspirational center before our d’app goes online. Here you can find all information about the project, the roadmap and the team themselves. We are managing our pre-sale directly through a React element which calls into a unique Solidity contract on Ethereum, allowing the pre-sale to be fully decentralized, transparent and secure. More about the pre-sale you can find in our next article.

https://www.wolvesofwallstreet.finance/

Image for post

Image for post

Roadmap

For a clear orientation until the launch of the d’app we have created a roadmap which shows the most important milestones. This includes most importantly the pre-sale, the Uniswap listing and an AMA we will be doing prior pre-sale. More information will be updated in the next article.

Image for post

We are still at the beginning of an exciting journey, bringing DeFi, NFT and gamification into a high profit, secure, sustainable and fun use-case.

The WOLVES of WALL STREET — WOWS Token PreSale

The presale will be held starting on Monday 15th of February 2021 15:30 pm UTC and will go on for one week till Monday 22nd of February 2021 or till the goal of 75 ETH is reached, whichever comes first.

  • Presale will take place on our D’app — we will announce the domain 3.5hrs before the launch at 12pm UTC in our Telegram channel.
  • We are distributing 6000 WOWS for 1 ETH = 80 WOWS or 1 WOWS = round 20$ USD (fluctuates with the price of ETH)
  • The minimum purchase for WOWS token will be 0.2 ETH.
  • The maximum purchase of WOWS token will be 3 ETH.

For the presale, you will be offered two options to get the WOWS token:

  1. Buy WOWS token and have it sent directly to your wallet.
  2. Buy WOWS token and provide automatic liquidity into Uniswap with 50/50 ETH/WOWS LP token creation. This will be done seamlessly for you and you can start staking and earning WOWS rewards during the presale (Trading on Uniswap won’t be possible till the presale is closed)

Our goal is to collect 75 ETH in funds.

  • 50% will go directly into the Uniswap Liquidity pool contract and be locked for 12 Months after presale with Unicrypt. This is managed automatically within our presale contract so you can rest assured this is going to happen.
  • The other 50% will go to the Marketing and Development Wallet. With these funds, we will ensure that we can be active, flexible and reactive to marketing efforts via big campaigns in magazines, crypto websites, crypto youtube channels, suitable twitter promotions, general promotions and partnerships. SFT creation, artist payments and design for future artworks will also be a big part as well as ongoing development like implementing marketplaces, an NFT index or yield generating NFTs as a Service. Therefore tokens which are not sold in the presale will go into the WOWS development wallet.

What happens after presale and how we will be launching on Uniswap

After the presale goals are met, we will be closing the presale purchase site on our webpage and:

  1. Launch Trading on Uniswap
  2. Open the staking platform for the early adopters who haven’t already bought LP tokens. Those that aren’t already staking can now join in by manually creating your LP tokens and staking them to earn WOWS. ( we will provide visual instruction steps on how to do this for those not familiar. )

Early adopters who stake LOTTERY announcement

Early adopters who stake from 22nd of February 2021 (including the earlier presale stakers) until the official launch of the Cryptofolio purchase D’app will not only benefit from the higher APY at that moment, they will also be automatically entered into our exclusive lottery.

Lottery winner levels are:

GOLD: 2 winners will get the №1 mint of either a WOLF Level 2 Cryptofolio SFT or a BOIS Level 2 Cryptofolio SFT.

SILVER: 2 winners will get the №1 mint of either a WOLF Level 1 Cryptofolio SFT or a BOIS Level 1 Cryptofolio SFT.

BRONZE: 20 Winners will get 1 WOLF or BOIS Level 1 Cryptofolio SFT.

Lottery is chosen at random, unstaking or removing the LP token in that period disqualifies the participation.

The same lottery mechanics will go to everybody who is providing liquidity from 22nd of February 2021 till the launch of SFT level three and four.

Tokenomics reminder.

Please review our tokenomics and emissions chart below, any questions please ask us in our TG channel linked below.

Image for post

We are at the beginning of an exciting journey, bringing DeFi, NFT/SFT and gamification into a high profit, secure, sustainable and fun use-case.

Looking for more information…

WebsiteExplorerExplorer 2Source CodeSocial ChannelSocial Channel 2Message BoardCoinmarketcap

Would you like to earn WOWS right now! ☞ CLICK HERE

Top exchanges for token-coin trading. Follow instructions and make unlimited money

BinanceBittrexPoloniexBitfinexHuobi

Thank for visiting and reading this article! I’m highly appreciate your actions! Please share if you liked it!

#blockchain #bitcoin #crypto #wolves of wall street #wows

Royce  Reinger

Royce Reinger

1658068560

WordsCounted: A Ruby Natural Language Processor

WordsCounted

We are all in the gutter, but some of us are looking at the stars.

-- Oscar Wilde

WordsCounted is a Ruby NLP (natural language processor). WordsCounted lets you implement powerful tokensation strategies with a very flexible tokeniser class.

Features

  • Out of the box, get the following data from any string or readable file, or URL:
    • Token count and unique token count
    • Token densities, frequencies, and lengths
    • Char count and average chars per token
    • The longest tokens and their lengths
    • The most frequent tokens and their frequencies.
  • A flexible way to exclude tokens from the tokeniser. You can pass a string, regexp, symbol, lambda, or an array of any combination of those types for powerful tokenisation strategies.
  • Pass your own regexp rules to the tokeniser if you prefer. The default regexp filters special characters but keeps hyphens and apostrophes. It also plays nicely with diacritics (UTF and unicode characters): Bayrūt is treated as ["Bayrūt"] and not ["Bayr", "ū", "t"], for example.
  • Opens and reads files. Pass in a file path or a url instead of a string.

Installation

Add this line to your application's Gemfile:

gem 'words_counted'

And then execute:

$ bundle

Or install it yourself as:

$ gem install words_counted

Usage

Pass in a string or a file path, and an optional filter and/or regexp.

counter = WordsCounted.count(
  "We are all in the gutter, but some of us are looking at the stars."
)

# Using a file
counter = WordsCounted.from_file("path/or/url/to/my/file.txt")

.count and .from_file are convenience methods that take an input, tokenise it, and return an instance of WordsCounted::Counter initialized with the tokens. The WordsCounted::Tokeniser and WordsCounted::Counter classes can be used alone, however.

API

WordsCounted

WordsCounted.count(input, options = {})

Tokenises input and initializes a WordsCounted::Counter object with the resulting tokens.

counter = WordsCounted.count("Hello Beirut!")

Accepts two options: exclude and regexp. See Excluding tokens from the analyser and Passing in a custom regexp respectively.

WordsCounted.from_file(path, options = {})

Reads and tokenises a file, and initializes a WordsCounted::Counter object with the resulting tokens.

counter = WordsCounted.from_file("hello_beirut.txt")

Accepts the same options as .count.

Tokeniser

The tokeniser allows you to tokenise text in a variety of ways. You can pass in your own rules for tokenisation, and apply a powerful filter with any combination of rules as long as they can boil down into a lambda.

Out of the box the tokeniser includes only alpha chars. Hyphenated tokens and tokens with apostrophes are considered a single token.

#tokenise([pattern: TOKEN_REGEXP, exclude: nil])

tokeniser = WordsCounted::Tokeniser.new("Hello Beirut!").tokenise

# With `exclude`
tokeniser = WordsCounted::Tokeniser.new("Hello Beirut!").tokenise(exclude: "hello")

# With `pattern`
tokeniser = WordsCounted::Tokeniser.new("I <3 Beirut!").tokenise(pattern: /[a-z]/i)

See Excluding tokens from the analyser and Passing in a custom regexp for more information.

Counter

The WordsCounted::Counter class allows you to collect various statistics from an array of tokens.

#token_count

Returns the token count of a given string.

counter.token_count #=> 15

#token_frequency

Returns a sorted (unstable) two-dimensional array where each element is a token and its frequency. The array is sorted by frequency in descending order.

counter.token_frequency

[
  ["the", 2],
  ["are", 2],
  ["we",  1],
  # ...
  ["all", 1]
]

#most_frequent_tokens

Returns a hash where each key-value pair is a token and its frequency.

counter.most_frequent_tokens

{ "are" => 2, "the" => 2 }

#token_lengths

Returns a sorted (unstable) two-dimentional array where each element contains a token and its length. The array is sorted by length in descending order.

counter.token_lengths

[
  ["looking", 7],
  ["gutter",  6],
  ["stars",   5],
  # ...
  ["in",      2]
]

#longest_tokens

Returns a hash where each key-value pair is a token and its length.

counter.longest_tokens

{ "looking" => 7 }

#token_density([ precision: 2 ])

Returns a sorted (unstable) two-dimentional array where each element contains a token and its density as a float, rounded to a precision of two. The array is sorted by density in descending order. It accepts a precision argument, which must be a float.

counter.token_density

[
  ["are",     0.13],
  ["the",     0.13],
  ["but",     0.07 ],
  # ...
  ["we",      0.07 ]
]

#char_count

Returns the char count of tokens.

counter.char_count #=> 76

#average_chars_per_token([ precision: 2 ])

Returns the average char count per token rounded to two decimal places. Accepts a precision argument which defaults to two. Precision must be a float.

counter.average_chars_per_token #=> 4

#uniq_token_count

Returns the number of unique tokens.

counter.uniq_token_count #=> 13

Excluding tokens from the tokeniser

You can exclude anything you want from the input by passing the exclude option. The exclude option accepts a variety of filters and is extremely flexible.

  1. A space-delimited string. The filter will normalise the string.
  2. A regular expression.
  3. A lambda.
  4. A symbol that names a predicate method. For example :odd?.
  5. An array of any combination of the above.
tokeniser =
  WordsCounted::Tokeniser.new(
    "Magnificent! That was magnificent, Trevor."
  )

# Using a string
tokeniser.tokenise(exclude: "was magnificent")
# => ["that", "trevor"]

# Using a regular expression
tokeniser.tokenise(exclude: /trevor/)
# => ["magnificent", "that", "was", "magnificent"]

# Using a lambda
tokeniser.tokenise(exclude: ->(t) { t.length < 4 })
# => ["magnificent", "that", "magnificent", "trevor"]

# Using symbol
tokeniser = WordsCounted::Tokeniser.new("Hello! محمد")
tokeniser.tokenise(exclude: :ascii_only?)
# => ["محمد"]

# Using an array
tokeniser = WordsCounted::Tokeniser.new(
  "Hello! اسماءنا هي محمد، كارولينا، سامي، وداني"
)
tokeniser.tokenise(
  exclude: [:ascii_only?, /محمد/, ->(t) { t.length > 6}, "و"]
)
# => ["هي", "سامي", "وداني"]

Passing in a custom regexp

The default regexp accounts for letters, hyphenated tokens, and apostrophes. This means twenty-one is treated as one token. So is Mohamad's.

/[\p{Alpha}\-']+/

You can pass your own criteria as a Ruby regular expression to split your string as desired.

For example, if you wanted to include numbers, you can override the regular expression:

counter = WordsCounted.count("Numbers 1, 2, and 3", pattern: /[\p{Alnum}\-']+/)
counter.tokens
#=> ["numbers", "1", "2", "and", "3"]

Opening and reading files

Use the from_file method to open files. from_file accepts the same options as .count. The file path can be a URL.

counter = WordsCounted.from_file("url/or/path/to/file.text")

Gotchas

A hyphen used in leu of an em or en dash will form part of the token. This affects the tokeniser algorithm.

counter = WordsCounted.count("How do you do?-you are well, I see.")
counter.token_frequency

[
  ["do",   2],
  ["how",  1],
  ["you",  1],
  ["-you", 1], # WTF, mate!
  ["are",  1],
  # ...
]

In this example -you and you are separate tokens. Also, the tokeniser does not include numbers by default. Remember that you can pass your own regular expression if the default behaviour does not fit your needs.

A note on case sensitivity

The program will normalise (downcase) all incoming strings for consistency and filters.

Roadmap

Ability to open URLs

def self.from_url
  # open url and send string here after removing html
end

Are you using WordsCounted to do something interesting? Please tell me about it.

Gem Version 

RubyDoc documentation.

Demo

Visit this website for one example of what you can do with WordsCounted.


Contributors

See contributors.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author: Abitdodgy
Source Code: https://github.com/abitdodgy/words_counted 
License: MIT license

#ruby #nlp 

Words Counted: A Ruby Natural Language Processor.

WordsCounted

We are all in the gutter, but some of us are looking at the stars.

-- Oscar Wilde

WordsCounted is a Ruby NLP (natural language processor). WordsCounted lets you implement powerful tokensation strategies with a very flexible tokeniser class.

Are you using WordsCounted to do something interesting? Please tell me about it.

 

Demo

Visit this website for one example of what you can do with WordsCounted.

Features

  • Out of the box, get the following data from any string or readable file, or URL:
    • Token count and unique token count
    • Token densities, frequencies, and lengths
    • Char count and average chars per token
    • The longest tokens and their lengths
    • The most frequent tokens and their frequencies.
  • A flexible way to exclude tokens from the tokeniser. You can pass a string, regexp, symbol, lambda, or an array of any combination of those types for powerful tokenisation strategies.
  • Pass your own regexp rules to the tokeniser if you prefer. The default regexp filters special characters but keeps hyphens and apostrophes. It also plays nicely with diacritics (UTF and unicode characters): Bayrūt is treated as ["Bayrūt"] and not ["Bayr", "ū", "t"], for example.
  • Opens and reads files. Pass in a file path or a url instead of a string.

Installation

Add this line to your application's Gemfile:

gem 'words_counted'

And then execute:

$ bundle

Or install it yourself as:

$ gem install words_counted

Usage

Pass in a string or a file path, and an optional filter and/or regexp.

counter = WordsCounted.count(
  "We are all in the gutter, but some of us are looking at the stars."
)

# Using a file
counter = WordsCounted.from_file("path/or/url/to/my/file.txt")

.count and .from_file are convenience methods that take an input, tokenise it, and return an instance of WordsCounted::Counter initialized with the tokens. The WordsCounted::Tokeniser and WordsCounted::Counter classes can be used alone, however.

API

WordsCounted

WordsCounted.count(input, options = {})

Tokenises input and initializes a WordsCounted::Counter object with the resulting tokens.

counter = WordsCounted.count("Hello Beirut!")

Accepts two options: exclude and regexp. See Excluding tokens from the analyser and Passing in a custom regexp respectively.

WordsCounted.from_file(path, options = {})

Reads and tokenises a file, and initializes a WordsCounted::Counter object with the resulting tokens.

counter = WordsCounted.from_file("hello_beirut.txt")

Accepts the same options as .count.

Tokeniser

The tokeniser allows you to tokenise text in a variety of ways. You can pass in your own rules for tokenisation, and apply a powerful filter with any combination of rules as long as they can boil down into a lambda.

Out of the box the tokeniser includes only alpha chars. Hyphenated tokens and tokens with apostrophes are considered a single token.

#tokenise([pattern: TOKEN_REGEXP, exclude: nil])

tokeniser = WordsCounted::Tokeniser.new("Hello Beirut!").tokenise

# With `exclude`
tokeniser = WordsCounted::Tokeniser.new("Hello Beirut!").tokenise(exclude: "hello")

# With `pattern`
tokeniser = WordsCounted::Tokeniser.new("I <3 Beirut!").tokenise(pattern: /[a-z]/i)

See Excluding tokens from the analyser and Passing in a custom regexp for more information.

Counter

The WordsCounted::Counter class allows you to collect various statistics from an array of tokens.

#token_count

Returns the token count of a given string.

counter.token_count #=> 15

#token_frequency

Returns a sorted (unstable) two-dimensional array where each element is a token and its frequency. The array is sorted by frequency in descending order.

counter.token_frequency

[
  ["the", 2],
  ["are", 2],
  ["we",  1],
  # ...
  ["all", 1]
]

#most_frequent_tokens

Returns a hash where each key-value pair is a token and its frequency.

counter.most_frequent_tokens

{ "are" => 2, "the" => 2 }

#token_lengths

Returns a sorted (unstable) two-dimentional array where each element contains a token and its length. The array is sorted by length in descending order.

counter.token_lengths

[
  ["looking", 7],
  ["gutter",  6],
  ["stars",   5],
  # ...
  ["in",      2]
]

#longest_tokens

Returns a hash where each key-value pair is a token and its length.

counter.longest_tokens

{ "looking" => 7 }

#token_density([ precision: 2 ])

Returns a sorted (unstable) two-dimentional array where each element contains a token and its density as a float, rounded to a precision of two. The array is sorted by density in descending order. It accepts a precision argument, which must be a float.

counter.token_density

[
  ["are",     0.13],
  ["the",     0.13],
  ["but",     0.07 ],
  # ...
  ["we",      0.07 ]
]

#char_count

Returns the char count of tokens.

counter.char_count #=> 76

#average_chars_per_token([ precision: 2 ])

Returns the average char count per token rounded to two decimal places. Accepts a precision argument which defaults to two. Precision must be a float.

counter.average_chars_per_token #=> 4

#uniq_token_count

Returns the number of unique tokens.

counter.uniq_token_count #=> 13

Excluding tokens from the tokeniser

You can exclude anything you want from the input by passing the exclude option. The exclude option accepts a variety of filters and is extremely flexible.

  1. A space-delimited string. The filter will normalise the string.
  2. A regular expression.
  3. A lambda.
  4. A symbol that names a predicate method. For example :odd?.
  5. An array of any combination of the above.
tokeniser =
  WordsCounted::Tokeniser.new(
    "Magnificent! That was magnificent, Trevor."
  )

# Using a string
tokeniser.tokenise(exclude: "was magnificent")
# => ["that", "trevor"]

# Using a regular expression
tokeniser.tokenise(exclude: /trevor/)
# => ["magnificent", "that", "was", "magnificent"]

# Using a lambda
tokeniser.tokenise(exclude: ->(t) { t.length < 4 })
# => ["magnificent", "that", "magnificent", "trevor"]

# Using symbol
tokeniser = WordsCounted::Tokeniser.new("Hello! محمد")
tokeniser.tokenise(exclude: :ascii_only?)
# => ["محمد"]

# Using an array
tokeniser = WordsCounted::Tokeniser.new(
  "Hello! اسماءنا هي محمد، كارولينا، سامي، وداني"
)
tokeniser.tokenise(
  exclude: [:ascii_only?, /محمد/, ->(t) { t.length > 6}, "و"]
)
# => ["هي", "سامي", "وداني"]

Passing in a custom regexp

The default regexp accounts for letters, hyphenated tokens, and apostrophes. This means twenty-one is treated as one token. So is Mohamad's.

/[\p{Alpha}\-']+/

You can pass your own criteria as a Ruby regular expression to split your string as desired.

For example, if you wanted to include numbers, you can override the regular expression:

counter = WordsCounted.count("Numbers 1, 2, and 3", pattern: /[\p{Alnum}\-']+/)
counter.tokens
#=> ["numbers", "1", "2", "and", "3"]

Opening and reading files

Use the from_file method to open files. from_file accepts the same options as .count. The file path can be a URL.

counter = WordsCounted.from_file("url/or/path/to/file.text")

Gotchas

A hyphen used in leu of an em or en dash will form part of the token. This affects the tokeniser algorithm.

counter = WordsCounted.count("How do you do?-you are well, I see.")
counter.token_frequency

[
  ["do",   2],
  ["how",  1],
  ["you",  1],
  ["-you", 1], # WTF, mate!
  ["are",  1],
  # ...
]

In this example -you and you are separate tokens. Also, the tokeniser does not include numbers by default. Remember that you can pass your own regular expression if the default behaviour does not fit your needs.

A note on case sensitivity

The program will normalise (downcase) all incoming strings for consistency and filters.

Roadmap

Ability to open URLs

def self.from_url
  # open url and send string here after removing html
end

Contributors

See contributors.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author: abitdodgy
Source code: https://github.com/abitdodgy/words_counted
License: MIT license

#ruby  #ruby-on-rails 

aaron silva

aaron silva

1622197808

SafeMoon Clone | Create A DeFi Token Like SafeMoon | DeFi token like SafeMoon

SafeMoon is a decentralized finance (DeFi) token. This token consists of RFI tokenomics and auto-liquidity generating protocol. A DeFi token like SafeMoon has reached the mainstream standards under the Binance Smart Chain. Its success and popularity have been immense, thus, making the majority of the business firms adopt this style of cryptocurrency as an alternative.

A DeFi token like SafeMoon is almost similar to the other crypto-token, but the only difference being that it charges a 10% transaction fee from the users who sell their tokens, in which 5% of the fee is distributed to the remaining SafeMoon owners. This feature rewards the owners for holding onto their tokens.

Read More @ https://bit.ly/3oFbJoJ

#create a defi token like safemoon #defi token like safemoon #safemoon token #safemoon token clone #defi token

Crypto Like

Crypto Like

1621905760

What is Wall Street Games (WSG) | What is Wall Street Games token | What is WSG token

In this article, we’ll discuss information about the Wall Street Games project and WSG token

What is Wall Street Games?

Wall Street Games is a next generation hybrid blockchain-based online gaming platform, where players battle each other in fun & addicting simple games for rewards in cryptocurrencies!

Two players test their skill in skill based games. Luck will not help you here! There is always a winner and a loser. Which one are you?

Wall Street Games is as simple as connecting your wallet to the website, choosing your favorite token to use as the wager and deciding on the amount you want to play with!

The platform is built by experienced blockchain and game developers who have worked for prominent and very successful multinational gaming corporations and they are bringing their unique vision to brand new heights.

We also offer a referral system, unique opportunities for users to earn and a VIP group!

Exciting and addicting games, NFT’s and so much more is coming soon.

What is the use-case of the WSG token?

The Wall Street Games (WSG) tokens have several use-cases which make it a great buying opportunity for both players on our platform as well as buyers looking for prospective tokens to buy:

  • Token holders will receive fee discounts when playing on the platform
  • Token holders will be able to play more games each day on the platform
  • Token holders will be able to buy NFT artwork, merch and other unique features on the platform
  • Token holders will be able to enjoy benefits from staking and similar activities
  • Token holders will be able to join the governance platform and vote/propose new game modes and decide the future development of the platform
  • Token holders will be able to join the exclusive VIP group after reaching a specific amount of tokens
  • Token holders will be able to create game scenarios and be rewarded if the community selects their designs
  • Token holders will benefit from burn events and several other factors that will keep the economy deflationary

If you’d like to learn more about the tokenomics and read more about the project in general, please check out our whitepaper:

What does it look like?

To give a sneak-peek to the readers who are interested in our project, we can share a preview of our website’s design so you can get ready for the best blockchain gaming project in the business!

Here it is:

Join us in our social media channels (found below) and share your opinion with us! The beta testing phase will commence once the IDO is over and you will all have a chance to test out the platform before it goes live. More details about the launch & testing period will be shared in the next Medium article.

Julpad

A blockchain platform that allows crypto projects to launch their own tokens. It was created by JustLiquidity, a decentralized finance company with the aim of giving the best projects a way to reach their community and contributors.

JulSwap

“Official exchange of JulPad created by JustLiquidity. It is a decentralized exchange where you can trade coins that are deployed on the Binance Smart Chain blockchain and offer several advanced features that make it unique from their competitors.”

Referral system

Each player can create his/her own unique referral link which they can then share with communities, friends and other gamers to earn passive income from referral fees — 0.25 % from the total game prize pot — forever!

You can visit the website section for referrals easily by clicking on the “Refer a friend” button in the menu.

Wall Street Games

Wall Street Games is a next generation hybrid blockchain-based online gaming platform, where players battle each other in fun & addicting simple games for rewards in cryptocurrencies!”

How and Where to Buy WSG token ?

WSG has been listed on a number of crypto exchanges, unlike other main cryptocurrencies, it cannot be directly purchased with fiats money. However, You can still easily buy this coin by first buying Bitcoin, ETH, USDT, BNB from any large exchanges and then transfer to the exchange that offers to trade this coin, in this guide article we will walk you through in detail the steps to buy WSG

You will have to first buy one of the major cryptocurrencies, usually either Bitcoin (BTC), Ethereum (ETH), Tether (USDT), Binance (BNB)…

We will use Binance Exchange here as it is one of the largest crypto exchanges that accept fiat deposits.

Binance is a popular cryptocurrency exchange which was started in China but then moved their headquarters to the crypto-friendly Island of Malta in the EU. Binance is popular for its crypto to crypto exchange services. Binance exploded onto the scene in the mania of 2017 and has since gone on to become the top crypto exchange in the world.

Once you finished the KYC process. You will be asked to add a payment method. Here you can either choose to provide a credit/debit card or use a bank transfer, and buy one of the major cryptocurrencies, usually either Bitcoin (BTC), Ethereum (ETH), Tether (USDT), Binance (BNB)…

SIGN UP ON BINANCE

Step by Step Guide : What is Binance | How to Create an account on Binance (Updated 2021)

Next step - Transfer your cryptos to an Altcoin Exchange

Since WSG is an altcoin we need to transfer our coins to an exchange that WSG can be traded. Below is a list of exchanges that offers to trade WSG in various market pairs, head to their websites and register for an account.

Once finished you will then need to make a BTC/ETH/USDT/BNB deposit to the exchange from Binance depending on the available market pairs. After the deposit is confirmed you may then purchase WSG from the exchange.

The top exchange for trading in WSG token is currently JulSwap

Find more information WSG

WebsiteExplorerWhitepaperSocial ChannelSocial Channel 2Message BoardCoinmarketcap

🔺DISCLAIMER: The Information in the post isn’t financial advice, is intended FOR GENERAL INFORMATION PURPOSES ONLY. Trading Cryptocurrency is VERY risky. Make sure you understand these risks and that you are responsible for what you do with your money.

🔥 If you’re a beginner. I believe the article below will be useful to you ☞ What You Should Know Before Investing in Cryptocurrency - For Beginner

⭐ ⭐ ⭐The project is of interest to the community. Join to Get free ‘GEEK coin’ (GEEKCASH coin)!

☞ **-----CLICK HERE-----**⭐ ⭐ ⭐

(There is no limit to the amount of credit you can earn through referrals)

I hope this post will help you. Don’t forget to leave a like, comment and sharing it with others. Thank you!

#blockchain #bitcoin #wsg #wall street games