feat: massively expand crypto sentiment vocabulary (complete)
- CRYPTO_BULLISH_KEYWORDS: ~400+ terms covering price action, institutional/ETF, exchange listings, partnerships, technical indicators, on-chain, DeFi yield, macro narratives, sentiment/social - CRYPTO_BEARISH_KEYWORDS: ~550+ terms covering crashes/dumps, liquidations, hacks/exploits, depeg, outflows/selling, regulatory/legal, bankruptcy, technical indicators, on-chain, DeFi issues, macro risk-off, sentiment/social - WHALE_BULLISH_PHRASES: ~70+ context-aware phrases for whale/smart money/large holder accumulation - WHALE_BEARISH_PHRASES: ~100+ context-aware phrases for whale/smart money/large holder distribution - Added space-separated compound phrases for regex word-boundary matching (e.g., 'profit taking', 'fake breakout', 'wipes out', 'peg broken', 'reserve shortfall', 'institutional inflow', 'difficulty adjusts upward', 'addresses growing exponentially') Fixed critical crypto terminology: - Exchange OUTFLOWS -> bullish (coins leaving to cold storage) - Exchange INFLOWS -> bearish (coins entering to sell) - Bank run / solvency concerns -> bearish - Withdrawal spikes -> bearish (user exodus), whale withdrawals -> bullish - Profit taking -> bearish (not bullish) - Fake breakout -> bearish (not bullish) Result: 15/15 critical sentiment tests pass, 30/30 extended vocabulary tests pass, 90/91 NLP pipeline tests pass (1 pre-existing failure).
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user