clips / clips/pattern

Parse a tagged string

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.9k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

i am trying to find whether is a given sentence is imperative. Pattern.en parser tags a verb in imperative sentence as noun NN and not VB( verb in base form).
imperative sentence --sign in with your google account
Parsed output
[Sentence('sign/NN/B-NP/O in/IN/B-PP/B-PNP with/IN/I-PP/I-PNP your/PRP$/B-NP/I-PNP google/NNP-ORG/I-NP/I-PNP account/NN/I-NP/I-PNP')]

the word sign is marked as NN and not VB.

so now i am using Stanford tagger, which POS tags sign as VB as the training set now(recently added) contains imperative sentences.

Now can the parse or parsetree methods chunk and find relations in a sentence tagged by stanford tagger. If so how can i do it

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the parser and parsetree entry points and checking how they consume tags from the Stanford tagger. The issue is complete only when the supported behavior for the imperative example and Stanford-tagged input is clearly established or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.