Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我现在正在做的方法是将字符串分解为 NSSet 中的单词数组并减去停用词集。有没有更有效的方法?
一个好的正则表达式库可能会做得更快。
NSRegularExpression 是你的朋友。