Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutable analysis #1

Open
Aupajo opened this issue Jul 30, 2011 · 2 comments
Open

Mutable analysis #1

Aupajo opened this issue Jul 30, 2011 · 2 comments

Comments

@Aupajo
Copy link
Owner

Aupajo commented Jul 30, 2011

A nice way to adjust an analysis's deconstruction.

The scenario is that you're on a web-page or maybe a command line. You paste your text, and the analysis runs and shows you what it thinks the nouns are. You can select nouns it missed or deselect words that it incorrectly identified as nouns, before running the substitution.

Haven't thought much about what this would look like. Really, it just needs to handle two cases:

  1. Marking a word as a noun
  2. Unmarking a word as a noun

Although in my web-page example that would most likely be handled by the client side, so the simplest thing for now would simply be to implement Analysis.from_deconstruction(deconstruction, options = {}).

@fauxparse
Copy link

Interesting. This would probably require some basic syntactic, as opposed to purely lexical, analysis. For example:

“My mind was set: I'd set up my train set tomorrow.”

‘Set’ is used as a participial adjective, a partial phrasal verb, and a noun being modified adjectivally by another noun. This is admittedly pretty pathological, but it demonstrates the complexity of this feature...

@Aupajo
Copy link
Owner Author

Aupajo commented Jul 30, 2011

English is impossible to codify. I'm not out to build a hugely complicated lexical parser, just do some simple analysis as a starting point for the user.

Let the user pick and choose which words are nouns or not, on a one-by-one basis. The first-pass analysis gives them a guide, they can then touch it up. They're going to be a much better judge than any system could.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants