Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8219931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:20:58+00:00 2026-06-07T13:20:58+00:00

I have a dataset with annotations in the form: <Word/Phrase, Ontology Class> , where

  • 0

I have a dataset with annotations in the form: <Word/Phrase, Ontology Class>, where Ontology Class can be one of the following {Physical Object, Action, Quantity}. I have created this dataset manually for my particular ontology model from a large corpus of text.

Because this process was manual, I am sure that I may have missed some words/phrases from my corpus. If such is the case, I am looking at ways to automatically extract other words from the same corpus that have the “characteristics” as these words in the labeled dataset. Therefore, the first task is to define “characteristics” before I even go with the task of extracting other words.

Are there any standard techniques that I can use to achieve this?

EDIT: Sorry. I should have mentioned that these are domain-specific words not found in WordNet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:20:59+00:00Added an answer on June 7, 2026 at 1:20 pm

    Take a look at chapter 6 of the NLTK book. From what you have described, it sounds like a supervised classification technique based on feature (“characteristic”) extraction might be a good choice. From the book:

    A classifier is called supervised if it is built based on training
    corpora containing the correct label for each input.

    You can use some of the data that you have manually encoded to train your classifier. It might look like this:

    def word_features(name):
        features = {}
        features["firstletter"] = name[0].lower()
        features["lastletter"] = name[-1].lower()
        for letter in 'abcdefghijklmnopqrstuvwxyz':
            features["count(%s)" % letter] = name.lower().count(letter)
            features["has(%s)" % letter] = (letter in name.lower())
        return features
    

    Next you can train your classifier on some of the data you have already tagged:

    >> words = [('Rock', 'Physical Object'), ('Play', 'Action'), ... ]
    >>> featuresets = [(word_features(n), g) for (n,g) in words]
    >>> train_set, test_set = featuresets[500:], featuresets[:500]
    >>> classifier = nltk.NaiveBayesClassifier.train(train_set)
    

    You should probably train on half of the data you already tagged. That way you can test the accuracy of the classifier with the other half. Keep working on the features until the accuracy of the classifier is as you desire.

    nltk.classify.accuracy(classifier, test_set)
    

    You can check individual classifications as follows:

    classifier.classify(word_features('Gold'))
    

    If you are not familiar with NLTK, then you can read the previous chapters as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dataset with ~20M rows and I'm observing the following behavior. The
I have a dataset with one datatable. Now I want to set a filter
I have following dataset: name1 <- c(P1, P2, IndA, IndB, IndC, IndD, IndE, IndF,
I have a dataset with multiple tables. One table in particular has one record
I have a DataSet.xsd file in a class library project. When I double click
I have a DataSet that I have added to my project where I can
I have a dataset, How can I use the below code to bind the
I have a dataset I can group and want to know the percentage of
I have a DataSet Designer in my project. One of my generated datasets has
I have a DataSet that contains a few columns. One of these columns is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.