What is Roseon Finance (ROSN) | What is Roseon Finance token | What is ROSN token

In this article, we’ll discuss information about the Roseon Finance project and ROSN token

About Roseon Finance

Roseon Finance is a hybrid solution that bridges decentralized (DeFi) and centralized financial services (CeFi). Acting as the gateway to DeFi, Roseon Mobile is a crypto finance app, currently available in IOS and Android, that was built to help onboard new users to DeFi with its customer-centric design. As the industry continues on its high growth trajectory, developing new and faster protocols, Roseon Finance has chosen to take a different approach, to prioritize the user experience and enterprise adoption. Below are the key elements of the Roseon Finance ecosystem as proposed:

Roseon Mobile is a mobile crypto app that tightly integrates with CeFi and DeFi services within a single interface to help simplify the crypto investing experience.

Roseon Aggregator Service integrates with to external CeFi and DeFi sources to bring the liquidity and yield optimization into the Roseon ecosystem.

Roseon.DeFi is a decentralized yield farming application , the DApp (Decentralised Application) will be designed to provide liquidity pools, swaps and yield aggregation as it will interact with the other DeFi services. The goal of optimizing DeFi users’ yield farming at the lowest possible cost.

Mission

Roseon Finance simplifies DeFi and brings DeFi opportunities and other features like Swap and NFTs portal access to anyone with a mobile phone and a browser allowing users to manage their crypto and digital tokens from wherever they go with an easy-to-use mobile application and web interface.

The Roseon Finance Ecosystem

Roseon Finance is a hybrid solution with a mix of Centralized and Decentralized application and connects to external platforms on various chains using its Aggregator Services.

Smart Savings

This is similar to a traditional bank demand or term deposit, where users deposit their funds and earn interest. Roseon Finance allows users to lend their crypto assets through the app and in turn earn interest on the asset.

The Smart Savings features are Roseon’s lowest risk offerings, where the smart algorithms leverage centralized exchanges’ lending networks to optimize returns. The Smart Savings comes with two options, Flexible and Fixed Savings.

Flexible Savings allows users to deposit and withdraw anytime and rates will be variable.

Fixed Savings is similar to a term deposit; they carry short-term maturities ranging from one month to a year, and investors can withdraw their funds only after the term ends. Early termination or withdrawal before the term ends is not allowed.

Swaps

Roseon Swaps will search across CEXs and DEXs to seek the highest liquidity with the lowest fees and present the best available options for the user to select to swap their tokens. Traders can use the Swap feature to execute their swing trades, while farmers benefit from the low fee cross-chain swap.

Yield Farming

Yield farming is a fair concept where the users can add liquidity to the liquidity pools, and the collected funds are used for market making. This is called Automated Market Making (AMM) protocol. The liquidity providers receive LP tokens as a representation of the liquidity provided and LPs can then stake the LP tokens to earn rewards.

Several centralized and decentralized cryptocurrency exchanges allow users to add liquidity in return for rewards. Roseon gathers the pools with the best rewards and helps the users add liquidity without risking their funds. Roseon’s algorithmic farming system manages the risk by picking up the systems with gas-efficient smart contracts.

Portfolio Manager

Roseon Finance’s Portfolio Manager is a software tool allowing you to create, monitor and rebalance your own crypto (main and altcoin) portfolio, always under your direct controls. You can monitor and implement your holding strategies 24/7 anytime within the Roseon Finance App, without depending on third-party management or advisors. The App will highlight the best potential opportunities and fees across a wide range of CEXs/DEXs and you will be able to trade and rebalance as needed from the ease of the Roseon App.

NFT Gallery

Unlike fungible assets, including gold, fiat currencies, and even cryptocurrencies, NFTs are cryptographic tokens representing a unique asset whose main feature is digital scarcity that cannot be interchanged. Each NFT is entirely distinguishable from others in both its value and properties.

NFTs can be tokenized versions of digital or real-world assets. In the DeFi sector, these unique tokens create digital collectibles and items that can be collected and traded on a decentralized marketplace without any intermediary. With Roseon’s NFT gallery, you can store and view your rare digital arts and collectibles and sell them at favorable prices at Open Sea or Rarible.

Roseon’s User experience

**“**Customer satisfaction is not just a department; It is our entire company.”

A good user interface is something that every application or ecosystem should arrive at. Especially in DeFi space, where the agenda is to eliminate drawbacks in the existing financial systems, user experience is essential to solve real-life problems that users face and help them attain their financial goals without interruption or complexity. Roseon’s user experience analyzes end-users difficulties and brings customized solutions to eliminate them.

If the motto of DeFi is to change how people look at finance, then the applications should be designed in a user-centered approach. Roseon adds value to the DeFi ecosystem by simplifying the gateway to its features and benefits via mobile app.

Roseon.DeFi

Roseon.DeFi is a decentralized yield farming application, the DApp (Decentralised Application) will serve as our decentralized liquidity provider, swap and DeFi aggregator. Roseon.DeFi will come with 3 main features:

Vaults

Roseon.DeFi’s Vaults is a yield optimizer platform focused on providing DeFi users with auto-compounded yields at optimal intervals, with pooling gas costs through efficient smart contract codes using complex yield optimization strategies. Roseon.DeFi uses a proprietary dynamic harvesting optimizer to enable the highest APYs on our vaults.

Swap

Roseon.DeFi’s Swap is a DEX aggregator that gets queries for the best prices from various DEXs. Roseon Farm Swap splits trades across multiple DEXs to ensure the best prices and lowest slippage possible. Trades with Swap also become non-front-runnable and non-arbitrable.

Liquidity Pools

Liquidity pools are one of the foundational technologies behind the current DeFi ecosystem. They are an essential part of automated market makers (AMM), borrow-lend protocols, yield farming and synthetic assets. Liquidity pools are the backbone of many decentralized exchanges (DEX), such as Uniswap, Pancakeswap and Sushiswap. Roseon.DeFi will have its own AMM and will allow its users to participate in the ecosystem as liquidity providers (LP) to earn trading fees from the trades that happen in their pool, proportional to their share of the total liquidity.

Platform Architecture

Roseon microservice architecture can be divided into four main groups:

Management Tool

Management functionalities act as the gateway to provide vendor-agnostic services to the Roseon Mobile Application or any future third-party web or mobile interface. The main functionalities include:

  • User Management allows the system to manage user registration, role permissions, and groups
  • Wallet Controller provides the core functionality of a wallet (ie. deposit and withdrawal)
  • DeFi Controller offers term Savings feature
  • Farming Controller offers Farming features
  • Portfolio Management Controller create, monitor and rebalance your crypto portfolio
  • NFT controller provides access to NFT asset

Integration Service

Roseon’s Integration Service acts as an aggregator or connector to external centralized and decentralized platforms via API or smart contracts.

Business Intelligence & Analytics

Roseon will offer advanced analytics and dashboard reporting that collects on-chain and off-chain user and asset data to provide analysis, and reports on market opportunities, and data analysis to expand their user base.

Custodial Services

Roseon will offer clients access to secure, institutional-grade offline cold storage, the most reliable custody solution. Roseon will also work with world-class custodial services such as Coinbase and Primetrust to ensure the safety of funds. The Custodial Service secures any cryptocurrency assets, restricting access and ensuring the privacy of any digital asset in the storage. The service relies on other listening services such as Bitcoin Node, Ethereum Node, to communicate with the respective Blockchain.

The Custodial Service includes 5 core components:

  • Wallet Service provides the functionality of a wallet, keeping track of and facilitating deposit and withdrawal.
  • Secret Key Service secures all private keys.
  • Transaction Queue holds pending high-value transactions waiting for admin approval. The Transaction Verification Dashboard shows all pending transactions in which the Admin can approve and sign the transaction using his private key.
  • Listening Node is the gateway to Blockchain.
  • Multi-signature smart contract for keeping funds safe.

The service provides secure storage of cryptocurrency assets by using a Multi-Signature smart contract. The contract treats two following type of transaction differently

  • Low-value transactions can be passed through immediately as long as the sender is the Wallet Service
  • High-value transactions are queued at Transaction Queue and waiting for approval from Admin. Upon approval, Admin initiates one signature. Together with the signature generated from Wallet Service, these two signatures can unlock high-value transactions. Checking the validity of these two signatures is the responsibility of this Multi-signature smart contract.

How To Register With Roseon

For Phone Registration:

  1. Click on “Register” (you can either register by your phone number or email)
  2. Phone Number: Choose your correlative country code and enter your phone number
  3. Click on “get verification code”, check your text message on your phone for verification code and enter the code
  4. Enter your login password, and confirm your password
  5. Enter your invitation code (if any)
  6. Select “I agree to the User Agreement”, click “OK”

For Email Registration:

  1. Email : Enter your email address
  2. Click on “Get verification code” and enter the code sent to your provided email
  3. Enter login password and confirm your password
  4. Enter invitation code (if any)
  5. Select “I agree to the User Agreement” and click “OK”

How to change your password

*Reminder that withdraws are not allowed within 24hrs after changing password

  1. Click on your profile icon at the right upper corner
  2. Choose “Security Center”
  3. Choose “change your password”
  4. Click “confirm” on the pop up prompt on “no withdrawal within 24hrs after changing password”
  5. Enter your original password
  6. Enter your new password,
  7. Confirm your new password,
  8. Click “submit”

How to do submit KYC

  1. Click on your Profile icon at the right upper corner
  2. Choose identity authentication

(There are C1 and C2 authentication, implemented in order)

  1. Choose C1 authentication (withdrawal limit within 24H 5BTC)
  2. Enter your name
  3. Select your nationality
  4. Select your ID type (ID card/passport/driving license)
  5. Enter your ID number
  6. Click “submit”

Then you should see your C1 authentication status change into “authenticated”

To increase your withdrawal limit within 24H to 50 BTC, carry on with C2 authentication

  1. Choose C2 authentication
  2. Take a front photo of your ID
  3. Take a back photo of your ID
  4. Take a photo of a holding the front of your ID and the annotated picture together, make sure that the held paper is wrinkled, and the paper must be signed with Roseon, the date of application shall be clear and can be viewed.
  5. Click “Submit”

Then you should see your C2 authentication status change into “under review”, and into “authenticated” after being reviewed.

How to complete L1, L2, L3 security

  1. Click on the Profile icon at the right upper corner
  2. Choose security center
  3. If you log in using your email address, then you most completed your L1 security
  4. To complete L2 security, choose “phone verification”
  5. Select your correlative country code and enter your phone number
  6. Click “Bind”
  7. To complete L3 security, choose google verification
  8. Click “download” to download google authenticator
  9. Open Google Authenticator after finishing and memorize the 6 legits you see
  10. Go back to Roseon app and click “Next”
  11. You will see the backup key screen with a 16-bit key. Please write down, back it up and keep it in a safe place before enabling Google Authentication password. The key can be used to retrieve your account in case that your phone is lost or stolen.
  12. Click “Next”
  13. Click on “get verification code”, check your email and enter the code sent to your email
  14. Enter the 6 legits you’ve memorized earlier when you opened Google Authenticator in the google verification code box
  15. Click “OK” and done

How to deposit

For the the first time you use Roseon Wallet

  1. Click on Deposit Now on My Portfolio Screen
  2. Choose the Currency from Currency List
  3. Copy Deposit Address
  4. Send your money to that address

For the revisiting user

  1. Click on Wallet tab
  2. Click on Deposit
  3. Choose the Currency from Currency List
  4. Copy Deposit Address
  5. Sent your money to that address

Notice: Please double check Deposit Address before sending

How to withdraw

Before withdrawing please complete all 3 security levels and at least KYC C1 to withdraw

Option 1

  1. Click on Wallet tab
  2. Choose the Currency you want to withdraw
  3. Click on Withdraw button
  4. Enter withdrawing address
  5. Enter the amount
  6. In the Email verification code field, click on Get a verification code. Check your mailbox and enter the code you got (If you cannot find the code, please check in spam mail)
  7. In the Phone verification code field, click on Get a verification code. Check your message and enter the code you got
  8. Enter Google verification code
  9. Click OK to confirm

Option 2

  1. Click on Wallet tab
  2. Click on Withdraw button
  3. Choose the Currency from Currency List
  4. Enter withdrawing address
  5. Enter the amount
  6. In the Email verification code field, click on Get a verification code. Check your mailbox and enter the code you got (If you cannot find the code, please check in spam mail)
  7. In the Phone verification code field, click on Get a verification code. Check your message and enter the code you got
  8. Enter Google verification code
  9. Click OK to confirm

How to stake into Savings pool/Farming pool

  1. Deposit into your account
  2. Click on Savings tab / Farmings tab
  3. Pick a pool to stake/farm
  4. Enter the amount
  5. Wait until the term completes to receive your rewards

Token Economics

The Roseon Token (“ROSN”) is the utility token of the Roseon ecosystem that allows users who have registered an account with Roseon to participate in loyalty and rewards programs. The token offers three main types of benefits:

  1. Access to all of the ecosystem services;
  2. Discounts on the Roseon platform fees;
  3. Tiered loyalty rewards.

Token Specifications

Blockchain: BSC, ETH
Token Type: Utility
Total Supply: 100,000,000 ROSN

Token Metrics

Team and advisors - 20% of tokens are allocated to the team. These tokens are fully locked for a year, and thereafter receiving quarterly disbursements of 25% increments.

Supporters and Purchasers - 20% of tokens are allocated to our seed, private, and public sales. See full release schedule.

Marketing and Community - 20% of tokens are allocated towards our marketing efforts including community partnerships and loyalty programs to offer opportunities for enhanced benefits for existing customers. There may be a vesting period tied to the release of the tokens which will be flexibly introduced.

Mining Rewards - 20% of tokens are allocated towards reward programs and other promotional campaigns to bring user adoption and awareness to our project. This may be in the form of liquidity or staking pools.

Partnerships - 10% of tokens will be allocated for strategic partnerships which may have vesting periods of up to 12 months.

Future Reserves - 10%

We are fully committed to ensuring the utility of our token and believe in the long-term success of our project. The future reserve tokens will be used for the continued development of our application and future expansion of the business. We intend to continually enhance the application and realize our vision to bring mass adoption of DeFi and help people achieve the benefits of it. We have ambitious plans and these funds will ensure we have sufficient resources to continually maintain a high rate of growth.

Tokenomics

  • Users are rewarded and receive fee discounts through certain activities within the ecosystem.
  • Users who stake farm tokens will incur APY rewards denominated in ROSN.
  • Roseon Mobile users may also qualify for fee discounts through several activities within the ecosystem, with details of fee structure explained below.

Token Distribution Schedule

To ensure sound inflation within the ecosystem, the distribution model considers everyone and we will employ a low initial circulation, ensuring a fair launch to enable a long-term alignment. Early adopters will be vested over time, receiving monthly disbursements, with 15-25% of their tokens unlocked during the launch of Roseon. In addition, the founding team and advisors will be fully locked for a year as well, and then released at 25% per quarter. Most of the efforts by Roseon will be towards mining rewards (20% of all total supply) and Marketing and Community efforts (20%).

With this in mind, there will be periodic airdrops to supporters and Roseon will also establish a healthy burn-rate to ensure that all buybacks are not circled back to the market. We expect that all token supply to be fully dilutable within three years of the project launch. See full release schedule.

How and Where to Buy ROSN ?

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.

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

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 ROSN from the website: https://www.roseon.finance

The top exchange for trading in ROSN token is currently 

There are a few popular crypto exchanges where they have decent daily trading volumes and a huge user base. This will ensure you will be able to sell your coins at any time and the fees will usually be lower. It is suggested that you also register on these exchanges since once ROSN gets listed there it will attract a large amount of trading volumes from the users there, that means you will be having some great trading opportunities!

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

https://www.binance.com
 ☞ https://www.bittrex.com
 ☞ https://www.poloniex.com
 ☞ https://www.bitfinex.com
 ☞ https://www.huobi.com

Find more information ROSN

WebsiteSocial ChannelMessage BoardDocumentation

🔺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 ⭐ ⭐ ⭐

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

#blockchain #bitcoin #rosn #roseon finance

What is GEEK

Buddha Community

What is Roseon Finance (ROSN) | What is Roseon Finance token | What is ROSN token

What is Roseon Finance (ROSN) | What is Roseon Finance token | What is ROSN token

In this article, we’ll discuss information about the Roseon Finance project and ROSN token

About Roseon Finance

Roseon Finance is a hybrid solution that bridges decentralized (DeFi) and centralized financial services (CeFi). Acting as the gateway to DeFi, Roseon Mobile is a crypto finance app, currently available in IOS and Android, that was built to help onboard new users to DeFi with its customer-centric design. As the industry continues on its high growth trajectory, developing new and faster protocols, Roseon Finance has chosen to take a different approach, to prioritize the user experience and enterprise adoption. Below are the key elements of the Roseon Finance ecosystem as proposed:

Roseon Mobile is a mobile crypto app that tightly integrates with CeFi and DeFi services within a single interface to help simplify the crypto investing experience.

Roseon Aggregator Service integrates with to external CeFi and DeFi sources to bring the liquidity and yield optimization into the Roseon ecosystem.

Roseon.DeFi is a decentralized yield farming application , the DApp (Decentralised Application) will be designed to provide liquidity pools, swaps and yield aggregation as it will interact with the other DeFi services. The goal of optimizing DeFi users’ yield farming at the lowest possible cost.

Mission

Roseon Finance simplifies DeFi and brings DeFi opportunities and other features like Swap and NFTs portal access to anyone with a mobile phone and a browser allowing users to manage their crypto and digital tokens from wherever they go with an easy-to-use mobile application and web interface.

The Roseon Finance Ecosystem

Roseon Finance is a hybrid solution with a mix of Centralized and Decentralized application and connects to external platforms on various chains using its Aggregator Services.

Smart Savings

This is similar to a traditional bank demand or term deposit, where users deposit their funds and earn interest. Roseon Finance allows users to lend their crypto assets through the app and in turn earn interest on the asset.

The Smart Savings features are Roseon’s lowest risk offerings, where the smart algorithms leverage centralized exchanges’ lending networks to optimize returns. The Smart Savings comes with two options, Flexible and Fixed Savings.

Flexible Savings allows users to deposit and withdraw anytime and rates will be variable.

Fixed Savings is similar to a term deposit; they carry short-term maturities ranging from one month to a year, and investors can withdraw their funds only after the term ends. Early termination or withdrawal before the term ends is not allowed.

Swaps

Roseon Swaps will search across CEXs and DEXs to seek the highest liquidity with the lowest fees and present the best available options for the user to select to swap their tokens. Traders can use the Swap feature to execute their swing trades, while farmers benefit from the low fee cross-chain swap.

Yield Farming

Yield farming is a fair concept where the users can add liquidity to the liquidity pools, and the collected funds are used for market making. This is called Automated Market Making (AMM) protocol. The liquidity providers receive LP tokens as a representation of the liquidity provided and LPs can then stake the LP tokens to earn rewards.

Several centralized and decentralized cryptocurrency exchanges allow users to add liquidity in return for rewards. Roseon gathers the pools with the best rewards and helps the users add liquidity without risking their funds. Roseon’s algorithmic farming system manages the risk by picking up the systems with gas-efficient smart contracts.

Portfolio Manager

Roseon Finance’s Portfolio Manager is a software tool allowing you to create, monitor and rebalance your own crypto (main and altcoin) portfolio, always under your direct controls. You can monitor and implement your holding strategies 24/7 anytime within the Roseon Finance App, without depending on third-party management or advisors. The App will highlight the best potential opportunities and fees across a wide range of CEXs/DEXs and you will be able to trade and rebalance as needed from the ease of the Roseon App.

NFT Gallery

Unlike fungible assets, including gold, fiat currencies, and even cryptocurrencies, NFTs are cryptographic tokens representing a unique asset whose main feature is digital scarcity that cannot be interchanged. Each NFT is entirely distinguishable from others in both its value and properties.

NFTs can be tokenized versions of digital or real-world assets. In the DeFi sector, these unique tokens create digital collectibles and items that can be collected and traded on a decentralized marketplace without any intermediary. With Roseon’s NFT gallery, you can store and view your rare digital arts and collectibles and sell them at favorable prices at Open Sea or Rarible.

Roseon’s User experience

**“**Customer satisfaction is not just a department; It is our entire company.”

A good user interface is something that every application or ecosystem should arrive at. Especially in DeFi space, where the agenda is to eliminate drawbacks in the existing financial systems, user experience is essential to solve real-life problems that users face and help them attain their financial goals without interruption or complexity. Roseon’s user experience analyzes end-users difficulties and brings customized solutions to eliminate them.

If the motto of DeFi is to change how people look at finance, then the applications should be designed in a user-centered approach. Roseon adds value to the DeFi ecosystem by simplifying the gateway to its features and benefits via mobile app.

Roseon.DeFi

Roseon.DeFi is a decentralized yield farming application, the DApp (Decentralised Application) will serve as our decentralized liquidity provider, swap and DeFi aggregator. Roseon.DeFi will come with 3 main features:

Vaults

Roseon.DeFi’s Vaults is a yield optimizer platform focused on providing DeFi users with auto-compounded yields at optimal intervals, with pooling gas costs through efficient smart contract codes using complex yield optimization strategies. Roseon.DeFi uses a proprietary dynamic harvesting optimizer to enable the highest APYs on our vaults.

Swap

Roseon.DeFi’s Swap is a DEX aggregator that gets queries for the best prices from various DEXs. Roseon Farm Swap splits trades across multiple DEXs to ensure the best prices and lowest slippage possible. Trades with Swap also become non-front-runnable and non-arbitrable.

Liquidity Pools

Liquidity pools are one of the foundational technologies behind the current DeFi ecosystem. They are an essential part of automated market makers (AMM), borrow-lend protocols, yield farming and synthetic assets. Liquidity pools are the backbone of many decentralized exchanges (DEX), such as Uniswap, Pancakeswap and Sushiswap. Roseon.DeFi will have its own AMM and will allow its users to participate in the ecosystem as liquidity providers (LP) to earn trading fees from the trades that happen in their pool, proportional to their share of the total liquidity.

Platform Architecture

Roseon microservice architecture can be divided into four main groups:

Management Tool

Management functionalities act as the gateway to provide vendor-agnostic services to the Roseon Mobile Application or any future third-party web or mobile interface. The main functionalities include:

  • User Management allows the system to manage user registration, role permissions, and groups
  • Wallet Controller provides the core functionality of a wallet (ie. deposit and withdrawal)
  • DeFi Controller offers term Savings feature
  • Farming Controller offers Farming features
  • Portfolio Management Controller create, monitor and rebalance your crypto portfolio
  • NFT controller provides access to NFT asset

Integration Service

Roseon’s Integration Service acts as an aggregator or connector to external centralized and decentralized platforms via API or smart contracts.

Business Intelligence & Analytics

Roseon will offer advanced analytics and dashboard reporting that collects on-chain and off-chain user and asset data to provide analysis, and reports on market opportunities, and data analysis to expand their user base.

Custodial Services

Roseon will offer clients access to secure, institutional-grade offline cold storage, the most reliable custody solution. Roseon will also work with world-class custodial services such as Coinbase and Primetrust to ensure the safety of funds. The Custodial Service secures any cryptocurrency assets, restricting access and ensuring the privacy of any digital asset in the storage. The service relies on other listening services such as Bitcoin Node, Ethereum Node, to communicate with the respective Blockchain.

The Custodial Service includes 5 core components:

  • Wallet Service provides the functionality of a wallet, keeping track of and facilitating deposit and withdrawal.
  • Secret Key Service secures all private keys.
  • Transaction Queue holds pending high-value transactions waiting for admin approval. The Transaction Verification Dashboard shows all pending transactions in which the Admin can approve and sign the transaction using his private key.
  • Listening Node is the gateway to Blockchain.
  • Multi-signature smart contract for keeping funds safe.

The service provides secure storage of cryptocurrency assets by using a Multi-Signature smart contract. The contract treats two following type of transaction differently

  • Low-value transactions can be passed through immediately as long as the sender is the Wallet Service
  • High-value transactions are queued at Transaction Queue and waiting for approval from Admin. Upon approval, Admin initiates one signature. Together with the signature generated from Wallet Service, these two signatures can unlock high-value transactions. Checking the validity of these two signatures is the responsibility of this Multi-signature smart contract.

How To Register With Roseon

For Phone Registration:

  1. Click on “Register” (you can either register by your phone number or email)
  2. Phone Number: Choose your correlative country code and enter your phone number
  3. Click on “get verification code”, check your text message on your phone for verification code and enter the code
  4. Enter your login password, and confirm your password
  5. Enter your invitation code (if any)
  6. Select “I agree to the User Agreement”, click “OK”

For Email Registration:

  1. Email : Enter your email address
  2. Click on “Get verification code” and enter the code sent to your provided email
  3. Enter login password and confirm your password
  4. Enter invitation code (if any)
  5. Select “I agree to the User Agreement” and click “OK”

How to change your password

*Reminder that withdraws are not allowed within 24hrs after changing password

  1. Click on your profile icon at the right upper corner
  2. Choose “Security Center”
  3. Choose “change your password”
  4. Click “confirm” on the pop up prompt on “no withdrawal within 24hrs after changing password”
  5. Enter your original password
  6. Enter your new password,
  7. Confirm your new password,
  8. Click “submit”

How to do submit KYC

  1. Click on your Profile icon at the right upper corner
  2. Choose identity authentication

(There are C1 and C2 authentication, implemented in order)

  1. Choose C1 authentication (withdrawal limit within 24H 5BTC)
  2. Enter your name
  3. Select your nationality
  4. Select your ID type (ID card/passport/driving license)
  5. Enter your ID number
  6. Click “submit”

Then you should see your C1 authentication status change into “authenticated”

To increase your withdrawal limit within 24H to 50 BTC, carry on with C2 authentication

  1. Choose C2 authentication
  2. Take a front photo of your ID
  3. Take a back photo of your ID
  4. Take a photo of a holding the front of your ID and the annotated picture together, make sure that the held paper is wrinkled, and the paper must be signed with Roseon, the date of application shall be clear and can be viewed.
  5. Click “Submit”

Then you should see your C2 authentication status change into “under review”, and into “authenticated” after being reviewed.

How to complete L1, L2, L3 security

  1. Click on the Profile icon at the right upper corner
  2. Choose security center
  3. If you log in using your email address, then you most completed your L1 security
  4. To complete L2 security, choose “phone verification”
  5. Select your correlative country code and enter your phone number
  6. Click “Bind”
  7. To complete L3 security, choose google verification
  8. Click “download” to download google authenticator
  9. Open Google Authenticator after finishing and memorize the 6 legits you see
  10. Go back to Roseon app and click “Next”
  11. You will see the backup key screen with a 16-bit key. Please write down, back it up and keep it in a safe place before enabling Google Authentication password. The key can be used to retrieve your account in case that your phone is lost or stolen.
  12. Click “Next”
  13. Click on “get verification code”, check your email and enter the code sent to your email
  14. Enter the 6 legits you’ve memorized earlier when you opened Google Authenticator in the google verification code box
  15. Click “OK” and done

How to deposit

For the the first time you use Roseon Wallet

  1. Click on Deposit Now on My Portfolio Screen
  2. Choose the Currency from Currency List
  3. Copy Deposit Address
  4. Send your money to that address

For the revisiting user

  1. Click on Wallet tab
  2. Click on Deposit
  3. Choose the Currency from Currency List
  4. Copy Deposit Address
  5. Sent your money to that address

Notice: Please double check Deposit Address before sending

How to withdraw

Before withdrawing please complete all 3 security levels and at least KYC C1 to withdraw

Option 1

  1. Click on Wallet tab
  2. Choose the Currency you want to withdraw
  3. Click on Withdraw button
  4. Enter withdrawing address
  5. Enter the amount
  6. In the Email verification code field, click on Get a verification code. Check your mailbox and enter the code you got (If you cannot find the code, please check in spam mail)
  7. In the Phone verification code field, click on Get a verification code. Check your message and enter the code you got
  8. Enter Google verification code
  9. Click OK to confirm

Option 2

  1. Click on Wallet tab
  2. Click on Withdraw button
  3. Choose the Currency from Currency List
  4. Enter withdrawing address
  5. Enter the amount
  6. In the Email verification code field, click on Get a verification code. Check your mailbox and enter the code you got (If you cannot find the code, please check in spam mail)
  7. In the Phone verification code field, click on Get a verification code. Check your message and enter the code you got
  8. Enter Google verification code
  9. Click OK to confirm

How to stake into Savings pool/Farming pool

  1. Deposit into your account
  2. Click on Savings tab / Farmings tab
  3. Pick a pool to stake/farm
  4. Enter the amount
  5. Wait until the term completes to receive your rewards

Token Economics

The Roseon Token (“ROSN”) is the utility token of the Roseon ecosystem that allows users who have registered an account with Roseon to participate in loyalty and rewards programs. The token offers three main types of benefits:

  1. Access to all of the ecosystem services;
  2. Discounts on the Roseon platform fees;
  3. Tiered loyalty rewards.

Token Specifications

Blockchain: BSC, ETH
Token Type: Utility
Total Supply: 100,000,000 ROSN

Token Metrics

Team and advisors - 20% of tokens are allocated to the team. These tokens are fully locked for a year, and thereafter receiving quarterly disbursements of 25% increments.

Supporters and Purchasers - 20% of tokens are allocated to our seed, private, and public sales. See full release schedule.

Marketing and Community - 20% of tokens are allocated towards our marketing efforts including community partnerships and loyalty programs to offer opportunities for enhanced benefits for existing customers. There may be a vesting period tied to the release of the tokens which will be flexibly introduced.

Mining Rewards - 20% of tokens are allocated towards reward programs and other promotional campaigns to bring user adoption and awareness to our project. This may be in the form of liquidity or staking pools.

Partnerships - 10% of tokens will be allocated for strategic partnerships which may have vesting periods of up to 12 months.

Future Reserves - 10%

We are fully committed to ensuring the utility of our token and believe in the long-term success of our project. The future reserve tokens will be used for the continued development of our application and future expansion of the business. We intend to continually enhance the application and realize our vision to bring mass adoption of DeFi and help people achieve the benefits of it. We have ambitious plans and these funds will ensure we have sufficient resources to continually maintain a high rate of growth.

Tokenomics

  • Users are rewarded and receive fee discounts through certain activities within the ecosystem.
  • Users who stake farm tokens will incur APY rewards denominated in ROSN.
  • Roseon Mobile users may also qualify for fee discounts through several activities within the ecosystem, with details of fee structure explained below.

Token Distribution Schedule

To ensure sound inflation within the ecosystem, the distribution model considers everyone and we will employ a low initial circulation, ensuring a fair launch to enable a long-term alignment. Early adopters will be vested over time, receiving monthly disbursements, with 15-25% of their tokens unlocked during the launch of Roseon. In addition, the founding team and advisors will be fully locked for a year as well, and then released at 25% per quarter. Most of the efforts by Roseon will be towards mining rewards (20% of all total supply) and Marketing and Community efforts (20%).

With this in mind, there will be periodic airdrops to supporters and Roseon will also establish a healthy burn-rate to ensure that all buybacks are not circled back to the market. We expect that all token supply to be fully dilutable within three years of the project launch. See full release schedule.

How and Where to Buy ROSN ?

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.

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

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 ROSN from the website: https://www.roseon.finance

The top exchange for trading in ROSN token is currently 

There are a few popular crypto exchanges where they have decent daily trading volumes and a huge user base. This will ensure you will be able to sell your coins at any time and the fees will usually be lower. It is suggested that you also register on these exchanges since once ROSN gets listed there it will attract a large amount of trading volumes from the users there, that means you will be having some great trading opportunities!

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

https://www.binance.com
 ☞ https://www.bittrex.com
 ☞ https://www.poloniex.com
 ☞ https://www.bitfinex.com
 ☞ https://www.huobi.com

Find more information ROSN

WebsiteSocial ChannelMessage BoardDocumentation

🔺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 ⭐ ⭐ ⭐

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

#blockchain #bitcoin #rosn #roseon finance

Angelina roda

Angelina roda

1624219980

How to Buy NFT Art Finance Token - The EASIEST METHOD! DO NOT MISS!!! JUST IN 4 MINUTES

NFT Art Finance is currently one of the most popular cryptocurrencies right now on the market, so in today’s video, I will be showing you guys how to easily buy NFT Art Finance on your phone using the Trust Wallet application.
📺 The video in this post was made by More LimSanity
The origin of the article: https://www.youtube.com/watch?v=sKE6Pc_w1IE
🔺 DISCLAIMER: The article is for information sharing. The content of this video is solely the opinions of the speaker who is not a licensed financial advisor or registered investment advisor. Not investment advice or legal advice.
Cryptocurrency trading 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-----**⭐ ⭐ ⭐
Thanks for visiting and watching! Please don’t forget to leave a like, comment and share!

#bitcoin #blockchain #nft art finance token #token #buy nft art finance #how to buy nft art finance token - the easiest method!

David mr

David mr

1624312800

SPORE FINANCE PREDICTION - WHAT IS SPORE FINANCE & SPORE FINANCE ANALYSIS - SPORE FINANCE

SPORE FINANCE PREDICTION - WHAT IS SPORE FINANCE & SPORE FINANCE ANALYSIS - SPORE FINANCE

In this video, I talk about spore finance coin and give my spore finance prediction. I talk about the latest spore finance analysis & spore finance crypto coin that recently has been hit pretty hard in the last 24 hours. I go over what is spore finance and how many holders are on this new crypto coin spore finance.
📺 The video in this post was made by Josh’s Finance
The origin of the article: https://www.youtube.com/watch?v=qbPQvdxCtEI
🔺 DISCLAIMER: The article is for information sharing. The content of this video is solely the opinions of the speaker who is not a licensed financial advisor or registered investment advisor. Not investment advice or legal advice.
Cryptocurrency trading 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-----**⭐ ⭐ ⭐
Thanks for visiting and watching! Please don’t forget to leave a like, comment and share!

#bitcoin #blockchain #spore finance #what is spore finance #spore finance prediction - what is spore finance & spore finance analysis - spore finance #spore finance prediction

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 

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