Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(1)  |  Derive(0)  |  Import(7)

src/c/o/conceptnet-HEAD/conceptnet/models.py   conceptnet(Download)
__version__ = "4.0rc2"
from django.db import models
from django.db.models import Q
from conceptnet.corpus.models import Language, Sentence, User, ScoredModel, Frequency
from events.models import Event, Activity
import re
 
DEFAULT_LANGUAGE = en = Language(id='en', name='English') 
 
class TimestampedModel(models.Model):

src/c/o/conceptnet-HEAD/conceptnet/corpus/parse/run_parser.py   conceptnet(Download)
#!/usr/bin/env python
import sys, traceback
from conceptnet.models import Assertion, Batch, RawAssertion, Frame,\
  Frequency, Relation, SurfaceForm, Concept, Rating
from conceptnet.corpus.models import Sentence, Language, Activity

src/c/o/conceptnet-HEAD/conceptnet/corpus/parse/pcfgpattern.py   conceptnet(Download)
import nltk
from collections import defaultdict
from nltk.cfg import Nonterminal
from divisi.util import get_picklecached_thing
from conceptnet.corpus.models import Pattern, Sentence, Language

src/c/o/conceptnet-HEAD/conceptnet/webapi/handlers.py   conceptnet(Download)
from conceptnet.models import Concept, Relation, SurfaceForm, Frame,\
  Assertion, RawAssertion, LeftFeature, RightFeature, Feature
from conceptnet.corpus.models import Language, Sentence
from conceptnet.corpus.models import Frequency
from voting.models import Vote

src/c/o/conceptnet-HEAD/conceptnet/corpus/admin.py   conceptnet(Download)
from django.contrib import admin
from conceptnet.corpus.models import Language, Sentence
 
admin.site.register(Language)
admin.site.register(Sentence)

src/c/o/conceptnet-HEAD/conceptnet/corpus/parse/models.py   conceptnet(Download)
from django.db import models
from conceptnet.corpus.models import Language
from conceptnet.models import Relation
 
class FunctionFamilyDetector(object):

src/c/o/conceptnet-HEAD/conceptnet/analogyspace2.py   conceptnet(Download)
from csc import divisi2
from conceptnet.models import Assertion, Relation, RawAssertion, Feature
from conceptnet.corpus.models import Language
from math import log, sqrt
import logging