News for hackers. Stuff that matters.
Re:Show HN: MightyName.com – Search over 4.7M available Engl... by aquarin on Monday December 09, 2013 @07:15AM (#6873951)
2gram corpus is not that easy to implement, but here is my implementation with POS and frequency sorting. http://buzzdomain.com
Re:Show HN: MightyName.com – Search over 4.7M available Engl... by mikkom on Monday December 09, 2013 @11:45AM (#6875097)
IMHO 2-gram corpus is very easy to implement, what do you find difficult with it?
Re:Show HN: MightyName.com – Search over 4.7M available Engl... by Todd on Monday December 09, 2013 @12:45PM (#6875483)
I've done this before. You're right. The CPU intensive part is the word search itself. Building the combinations and finding adjacent words, which you've already done. The ngram piece is straightforward by comparison. Just compare the domain (with any hyphens removed) against a dictionary of concatenated ngrams. You'll have to veryify that any hyphens occur on word breaks afterwards, but it's a small price to pay for the simplicity of a string compare (or key lookup). You will probably want to load all of your ngram dictionaries into memory, though, or the search will be horribly slow.
Re:Show HN: MightyName.com – Search over 4.7M available Engl... by aquarin on Monday December 09, 2013 @02:24PM (#6876199)
I have already done this, but it is difficult to squeeze the running algorithm memory. The current POS solution uses only 400MB memory. Also, 2grams are not that good as collocations.
Re:Show HN: MightyName.com – Search over 4.7M available Engl... by rahimnathwani on Monday December 09, 2013 @09:33AM (#6874434)
Nice!

Small typo on home page: 'When you _clik_ the Search button'