NaturalNode / natural

general natural language facilities for node
MIT License
10.61k stars 860 forks source link

Example of Sentence Analyzer Use #76

Closed tansaku closed 11 years ago

tansaku commented 11 years ago

Great project! I saw that there is a setence analyzer, with some notes as follows:

Take a POS input and analyse it for

However I didn't see any examples of using the Sentence analyzer. In particular I am unclear how to generate the necessary POS input. Are there some examples knocking around?

Many thanks in advance

chrisumbel commented 11 years ago

Unfortunately POS tagging and sentence analysis have not yet been started. POS tagging is the next feature I personally plan on implementing.

tansaku commented 11 years ago

Hi Chris, thanks. I just noticed there was already a sentence_analyzer.js file in there. I guess that's just non-functional experimental code?

Thanks, Sam

iPhone$B$+$iAw?.(B

On 2012/11/15, at 20:44, Chris Umbel notifications@github.com wrote:

Unfortunately POS tagging and sentence analysis have not yet been started. POS tagging is the next feature I personally plan on implementing.

$B!=(B Reply to this email directly or view it on GitHub.

chrisumbel commented 11 years ago

Well I'll be! I guess that came from the merge with nl-tools back in the day.

Let me see what it does. It seems to have a spec started but no coverage so there's no guarantee that it works.

On 11/15/2012 08:57 PM, Sam Joseph wrote:

Hi Chris, thanks. I just noticed there was already a sentence_analyzer.js file in there. I guess that's just non-functional experimental code?

Thanks, Sam

iPhone$B$+$iAw?.(B

On 2012/11/15, at 20:44, Chris Umbel notifications@github.com wrote:

Unfortunately POS tagging and sentence analysis have not yet been started. POS tagging is the next feature I personally plan on implementing.

$B!=(B Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/NaturalNode/natural/issues/76#issuecomment-10425044.

chrisumbel commented 11 years ago

yes, it looks like this was only partially merged from nl-tools. the POS tagger wasn't quite there yet.

you're asking so you can get it into NaturalJS?

tansaku commented 11 years ago

Interesting. I just forked the client side version of natural so I can wrap it in some QUnit tests.

I'm really interested to get this functionality on the client side, and I've worked a fair amount with python NLP tools.

Let me know if I can help out

Cheers, Sam

iPhone$B$+$iAw?.(B

On 2012/11/15, at 21:08, Chris Umbel notifications@github.com wrote:

yes, it looks like this was only partially merged from nl-tools. the POS tagger wasn't quite there yet.

$B!=(B Reply to this email directly or view it on GitHub.

chrisumbel commented 11 years ago

seems that POS tagging can require quite a bit of local data. i'll make the feature a priority and take special consideration for the in-browser use-case. i may ping you about it soon.

dav009 commented 11 years ago

feel free to drop me in for the POStagger ;). maybe we can think some sort of general tagger with different Parameter files for each language,like TreeTagger(?)